Skip to Content
avatar image
Former Member

Dropdown by index : onSelect event problem

Hi I have done some coding in event "onSelect" for DropDown by index UI element

The event triggers when I select different drop down options from the list. If I select the same item again the event does not triggers . How can I make it possible.

Thanks

Vishal Kapoor

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Oct 12, 2007 at 09:33 AM

    Hi,

    you don't need to fire the event when you select the same one again,

    the element displayed is already the selected element.

    if you have eg a table that depends on the selected value, add the node

    as a singleton child node of your dropdown node and implement the supply

    function as it should react on the selected element, by selecting a different value,

    invalidate the childnode and the values will be loaded.

    If you just want to navigate to another page, just read the selected element of

    the dropdown node on your action handler before doing the actual navigation

    grtz,

    Koen

    Add comment
    10|10000 characters needed characters exceeded