Skip to Content
avatar image
Former Member

dependent dropdowns

HI

iam populating dropdownbyindex with the values coming from RFC,cardinality and selection of model node are 0..n and 0..1.

iam getting the null as the first value in the dropdown.

how to set this null value with a value like "please selct"

please provide the code if u hv any.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Oct 15, 2008 at 06:00 AM

    Hi,

    iam getting the null as the first value in the dropdown. ?

    means the first value is empty or null.

    Regards,

    ramesh

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 15, 2008 at 06:08 AM

    hi!

    you can take a hash map and then iterate through it by having values of dropdown in it and then check in the hashmap if the value is null then insert some key in it.

    thanks

    vishal

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 15, 2008 at 06:54 AM

    try by changing the properties to 1..n and 1..1

    with regards

    shanto aloor

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 15, 2008 at 07:20 AM

    Dear haranath.

    If dropdownbyindex element binds to node with cardinality 0..n it is not possible to change the first empty option in

    dropdownbyindex element by your own other text option.

    So, you should set node cardinality 1..n and put the first element to the node with text "please selct".

    Best regards, Sergey.

    Add comment
    10|10000 characters needed characters exceeded