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

Dynamically display values in a Dropdown on Portal

  • 1.  Dynamically display values in a Dropdown on Portal

    Posted Fri January 30, 2009 07:04 AM

    Hi Everyone,

    I am working on creating a Portal 7.1.2 screen for our client which has two drop downs (with values hard coded); the DB is queried on the basis of values selected in the two drop downs and results is displayed on the screen in the form of a table.

    I’ve success implemented that part.

    Now the requirement is that in the drop down, instead of displaying hard coded values, dynamically fetched values from a table in DB and should be displayed.
    I created a simple select adapter in developer getting DISTINCT values of one column of the table but I am not able to pass the values of the Document list to drop down… :confused:

    Its a bit urgent … Please guide me …
    Thanks in advance

    Regards
    Namita


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


  • 2.  RE: Dynamically display values in a Dropdown on Portal

    Posted Fri January 30, 2009 05:24 PM

    Namita,

    Why don’t you create the query in the portal page itself. If you are not using dsp pages, then you can definitely create the query and fetch the results in the drop down from the portal itself.

    Regards,
    Pradeep


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


  • 3.  RE: Dynamically display values in a Dropdown on Portal

    Posted Mon February 02, 2009 08:41 PM

    you just need to bind the results of the managed bean (fetching values from the db) to the value of the dropdown.
    I tried this and this works…


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