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

DropDownByIndex selection

Hello everybody!

There is any simple way to select de DropDownByIndex item based on the RFC result?

I'll explain...

For example: I ve got a Customer sign up, where the client must to choice the Region in a DropDownByIndex object ( provided by a RFC ).

It works fine... My problem is: When I need to update de customer's data, I need to enter in this view and select the Region based on the saved key. I did a function that iterate in de Region elements looking for the saved key, but I think it is not the better solution!

There is any better way to do this? DropDownByKey is not a option!

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 Feb 14, 2005 at 08:30 AM

    Hi,

    I think ur facing problem with Extended value selector,there are few oprions with this sorting etc. but if you want to select the region based on saved key i think you have to take care by coding, why don't to generate a value attribute and assign the saved key (Genric way) so that each user when he enters his selscted key will be stroed in value attribute pass this saved ket and update the data for that particular key (User selsction) ( all that you have to write is a setter method)

    RK

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 13, 2005 at 09:39 AM

    Hi,

    I don't think you will find anything significantly better.

    You can make some sort of optimization by sorting you Region values and then searching faster then iterating, but the the most you can do. (As far as I know at least)

    If you are talking about small number of values I don't think the sort would change anything.

    Hope it helps.

    Victor.

    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.