on 12-20-2007 7:34 PM
Hi,
I have a Webdynpro application which has to run on Portal as well as BlackBerry.
In this application I have a scenario where I need to have a sub node inside a node but as Blackberry doesn't support sub nodes with Singleton value false, I have to use another node for storing the values which earlier wre present in the sub node.
The actual scenario here is that we have two tables A & B. For each row of table A we have a no of rows in table B. This can be easily accomplished for Web Browser but we need to do this for Blackberry.
My question here is that how can i populate the data in table B at runtime using the concept of onLeadSelect. I am not able to fully undersans this concept.
According to my approach I have two a while loop which generates data for table A and inside this while loop I have another while which generates data for table B corresponding to each iteration of the outer while loop. I create the node elements for the rows of the table B and store them in a list and then store this list in a HashMap corresponding to a key formed by combining the values of all the elements of the row of table A.
Now I am not able to understand how can I display this data into table on user slecting a particular row.
Please guide ASAP.
It wille quite useful if you can provide me with some code snippets for the same.
Thanks in advance!
Manish
Hi,
To populate a child node you can use supply functions.
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Manish,
In WebDynpro u can use the onLeadSelect event of table A and do all the processing in that method.Like u can use this method to fill ur context node,which will be the source node for table B. So this way u need not to use any hash map.Fill the source node of table B with data corresponding to ur selected data of table A.
I hope this solution wud help u in solving ur problem.
Reena
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What does that mean "as Blackberry doesn't support sub nodes with Singleton value false"?
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
9 | |
9 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.