on 06-19-2008 9:49 AM
This is a question for NW Mobile 7.1
Dear all,
we want to use the DropDownByKey widget of WebdynPro for Java on the mobile client.
we want to fill the list of choices from a table in our data base
we have a data model, data service, and an operation that returns a result set with just one column
we are able to display this result set in a single column table (for testing)
now we want to fill the choices of the DropDownByKey widget with that result set
how would we do this? I could not find any documentation that helps.
The examples in the documentation only refers to java lists of strings (like the names of the months) which are then added to the choice list using "put" for each value of the list.
Any ideas?
Thanks in advance, Andre
Edited by: André Gerdts on Jun 19, 2008 3:49 PM
to clarify: we are developing for PDAs
A.
Some additional Information:
I found some documentation at http://help.sap.com/saphelp_nwmobile71/helpdata/en/46/3591388578141de10000000a1553f6/content.htm
but implementing this only gives me an empty dropdown list, while there is data in the data object.
I guess I will open a SAP call now.
If I get a solution, I will post it here ...
Thanks, Andre
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jan,
this information is very helpful and we got it to work in the case that all the records of the helper table should be used to fill the dropdown list.
In the declaration of the helper, it is only possible to specify a data object and the relevant columns. As far as we can see, it is not possible to be more selective to only use certain records based on a filter with input from some other dynamic value.
The case:
- we have 4 DropDownLists.
- the selected value of one DropDown widget determines the subset of allowed values for the next DropDown widget
- all super sets of allowed values are in Data Objects downloaded from the backend. Simplified, they consist of just 2 columns: filter column and value column. We need to select on the filter column to only load the the values from the value column
we don't see that we can abstract such a query with an input parameter in such a way, that we can specify it as the helper table.
Is this a limitation of the feature? or did we miss something?
Cheers, Andre
User | Count |
---|---|
93 | |
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.