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

Problem with DropDownByIndex

Hi all,

Iam new to mobileclient for handheld (7.1 CE). I have a dropdown which is bounded to output node of a query.

I need to select one value from this dropdown and send the selected value as input of another object.

My problem is, If I select 2nd or 3rd value , Iam getting the first value only. Iam using the following statement.

wdContext.node<DDNode>().current<DDNode>Element().get<field>();

Can anybody help me about this?

Regards

Narayana

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Nov 07, 2008 at 03:04 PM

    I created an onSelect event. The event passes in the index of the selected item.

    So the code goes something like:

    Integer selobj = (Integer)wdEvent.getEventData("index");

    wdContext.node<X>().setLeadSelection(selobj.intValue());

    Hope this helps

    Brian Timothy

    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.