IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

resetting a DropDown option

  • 1.  resetting a DropDown option

    Posted Fri July 10, 2009 02:20 PM

    Hi.
    I have Two dropDown boxes, where selecting an option in the First populates the second.
    However when I Select a new option in the First dropdown the second does not reset itself… I get the value that was selected previously.
    Is there any way to “reset” a dropdown?

    regards
    John Arne


    #webMethods
    #webMethods-BPMS
    #MWS-CAF-Task-Engine


  • 2.  RE: resetting a DropDown option

    Posted Mon July 13, 2009 11:14 PM

    create a action listener on the primary select and have it reset the secondary select from that action listener and then create control accessor on secondary select and then upon the onchange action listener then call the secondary select accessor with .clear(); option in the java code…

    or you could do it solely on the front end through onchange javascript listener and just do a CAF.model(“#{activePageBean.clientIds[‘secondaryselectmenuname’]}”)…setValue(“”);


    #webMethods
    #webMethods-BPMS
    #MWS-CAF-Task-Engine