Skip to Content
0
Jul 11, 2008 at 07:43 AM

CSS size

9 Views

Hi developers,

I have a UI element (group), whose width I want to control explicitly through a context attribute of type string (as per api docs). This string should be in CSS size format.

If I map this context attribute to an input field and enter for example 300px (which is fine in NWDS), I get

java.lang.NullPointerException 

    at at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.createReverseMappings(ComponentUsage.java:672)
    at at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.createComponentInternal(ComponentUsage.java:168)
    at at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.createComponent(ComponentUsage.java:116)
    at at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.createInstanceIfDemanded(ComponentUsage.java:728)
    at at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.getImplementingInterfaceViewInfo(ComponentUsage.java:403)
    ... 38 more

Any suggestion? Thanks