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

problem with leadselection in dropdwnbyindex URGENT!!!

Hi all,

i have a requriment wer i have 3 dropdownbyindex,with some static values,and when i submit initially the data goes into the database .

Now my actual prob is like when i again refresh or login again the data inserted into the database is to be seen in such a way that the dropdown's selected value is same as the one which i previously sent to database. xxxxxx (please read forum rules)

Regards

sai sharan

Edited by: Armin Reichert on Jan 17, 2008 10:23 AM

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Dec 26, 2007 at 02:59 AM

    Hi,

    for(int x=0; x< wdContext.node<YourNode>().size(); x++)

    {

    IWDNodeElement element = wdContext.node<YourNode>().getElementAt(x);

    if(element.getAttributeValue("<attributeName>").equals("<Your Backend Value>"))

    {

    wdContext.node<YourNode>().setLeadSelection(x);

    break;

    }

    }

    Regards

    Ayyapparaj

    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.