on 07-11-2008 8:43 AM
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
The correct String value is 300 without the px. Percent is accepted as well.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.