on 11-15-2005 2:14 PM
Hi,
I want to create a WebDynpro with two web services. I created the first request with the first web service and the results are displayed in a DropDownByIndex-Box. Now the user should choose one of the results and I would like to use this for the request with my second web service. How can I access the selected Element of a DropDownByIndexBox in the Code?
Thank you!!
Julia
Hi Julia,
when user select one element in drop down it automatically set lead selection of node binded to dropdown.
For example if you bind a dropdown to node myNode with value attribute myAttribute the lead selection of node myNode is set in the position of element choose from user.
So to take this chooised element use this code:
wdContext.currentMyNodeElement.getmyAttribute()
bye
Andrea
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Julia,
You would have bound the 'texts' property of the DropDownBI to an attribute inside a node. The statement to access the selected value is :
wdContext.current<name of the node>Element().get<attribute name>();
Hope this helps,
Best Regards,
Nibu.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.