on 08-31-2007 12:47 PM
Hi,
Can any one clear difference between DropDownByKey and DropDownByIndex in Webdynpro. How that is exactly working. Real time example will be helpful.
Thanks,
Deepak
Dropdown by key is a UI element which is having key-value pair. You can put this key- value using the SVS service or from the dictionary simple type.
One context variable(not a node) is sufficient to store all the values for this.
If u r using dictionary values, assign the dictionary type to this context variable.
For SVS, load the values to this context variable using the code.
Then bind this context variable to DrodownbyKey's Value.
For a dropdown by key, after loading the values( either from dictionary or by SVS ) , if you get the value, you will be getting the key for the corresponding value.
In the same way, if u set a key present in dropdown, it will automatically display the corresponding value.
Dropdown by Index gets the value from node.There is no key-value pair. We can load the values to it in the same way we load values to a table.(ie. By from a context node)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Javadoc?
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 |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.