Skip to Content
author's profile photo Former Member
Former Member

Difference b/w DropDownByKey and DropDownByIndex

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Aug 31, 2007 at 11:54 AM

    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)

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 31, 2007 at 11:49 AM

    Javadoc?

    Armin

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.