webMethods

webMethods

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

how to set default option to dropdownlist

  • 1.  how to set default option to dropdownlist

    Posted Wed April 28, 2010 09:38 PM

    hi all,

    i have country dropdown list in that i need to set the united states as a selected option,can any tell me how to set the default country code.

    regards,
    anil kumar e


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


  • 2.  RE: how to set default option to dropdownlist

    Posted Thu April 29, 2010 06:53 AM

    hi Anil,

    to capture the value from the dropdown list, you will assign the value to a bean(string). if so, in the initilize method of that view assing the value united states to that bean(string). so when ever that page initilizes, united states value will be default.

    Regards,
    Sunil Kumar N
    9731004527


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


  • 3.  RE: how to set default option to dropdownlist

    Posted Thu April 29, 2010 08:34 AM


  • 4.  RE: how to set default option to dropdownlist

    Posted Wed August 04, 2010 10:53 AM

    Hi Anil,
    The solution sunil has suggested should do for you.
    If not, can you please let us know what exactly you want.


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