Skip to Content
0
Nov 24, 2011 at 10:32 PM

DropDownList - Mobile Client Issue

38 Views

Hello,

We are currently migrating from 7.00 to 7.3, and I'm facing a very nasty issue with DDL when using Pie03Client.

Issue:

- WD seems to be rendering a 'null' item in DDL (ByIndex, ByKey) when it should not.

Application Details:

DDL (ByIndex)

- Context Node

- Cardinality : 1-n;

- Selection: 1-1;

This scenario always cause the Pie03Client to render a <option value"null"></option> - Not just that, but attaching 'onSelect' (onChange) event into the DDL, this triggers an error inside the WDP Framework.

com.sap.tc.webdynpro.services.exceptions.WDRuntimeException

at com.sap.tc.webdynpro.clientimpl.mobile.pie03.client.Pie03Client.handleUIElementEvent(Pie03Client.java:700)

Caused by: java.lang.NumberFormatException: For input string: "null"

at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)

at java.lang.Integer.parseInt(Integer.java:449)

at java.lang.Integer.parseInt(Integer.java:499)

at com.sap.tc.webdynpro.clientserver.uielements.adaptbase.AbstractAdapter.updateLeadSelection(AbstractAdapter.java:1533)

at com.sap.tc.webdynpro.clientserver.uielements.adaptbase.AbstractAdapter.updateLeadSelection(AbstractAdapter.java:1509)

at com.sap.tc.webdynpro.clientimpl.mobile.uradapter.DropDownByIndexAdapter.onDROPDOWNLISTBOXSELECTIONCHANGE(DropDownByIndexAdapter.java:415)

... 68 more

Does anyone knows a workaround for this? - Switching (or supressing) the Pie03Client parameter (changing the rendering engine) the DDL seems to work perfectly.

Same issue happens with DDL (ByKey)

SAP Engine 7.3, SP04

Any help is highly appreciated, and points will be awarded.

Regards,

Daniel

Edited by: Daniel Ruiz on Nov 26, 2011 12:00 AM