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

Dropdown in InteractiveForm

Hi,

I am unable to see all my values in the Dropdown.

I tried with both webDynpro native Enumerated DropDown and ValueHelp dropdown list.

I can see only the first value in the Dropdown but I don't see rest of the values ( all are blank !!!)

Am I missing some properties ??

Thanks, Anil

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 16, 2008 at 04:34 AM

    Hi Anil,

    How have u filled the values to the dropdown, the actual way would be to fill it with the use of Simple Types

    Say if ur Context Structure is:

    DataSource

    DataNode

    DataAttr

    A.. Populate the attribute.

    B. define a simple type.

    C. Bind the Attribute to Simple type.

    D. Follow below mentioned steps:

    1>> IWDAttributeInfo Nodeinfo =

    wdContext.nodeDataNode().getNodeInfo().getAttribute ("DataAttr");

    2>> ISimpleTypeModifiable Node= Nodeinfo .getModifiableSimpleType();

    3>> IModifiableSimpleValueSet NodeValueSet = Node.getSVServices().getModifiableSimpleValueSet();

    E. Bind the Dropdown field to this attribute.

    You'll get the desired rsults.

    Hope this helps,

    Thanks

    Amita

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      The problem is not that you are missing any values, it's that the number of values shown in the dropdown list is restricted by a value that is set in the visual administrator. By default, the maximum number of values that a dropdown can have is 50. If you have 51 or more, it will only show the first entry. If you want, you can switch the value in the Visual Administrator, or you can use an ISR Text Edit - Value Help.

      I know the post is old, but I hope this helps.

      Cheers,

      Kevin

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.