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.


#TechXchangePresenter
 View Only
Expand all | Collapse all

how to pass shell controle values to another portlet

  • 1.  how to pass shell controle values to another portlet

    Posted Mon February 01, 2010 12:33 PM

    Hi,

    i have the drop down in the shellheadder which contains different “endpoint addresses” as options.

    in the search result page i am pointing that preference with current page preference but the value is not getting mapped to the local preference variable.

    if i put the same dropdown as portlet in the page by editing the page then it is passing successfully.

    please guide me to pass the dropdown value from Shellhedder to search result portlet

    Thx,
    Suman


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


  • 2.  RE: how to pass shell controle values to another portlet

    Posted Thu August 05, 2010 09:27 AM

    Hi,
    You can use the below code and set the user session values.

    PortalServlet.getCurrentRequest().getSession().setAttribute(key, value);

    If there is any change in teh value of the dropdown, then you need to set that value in the session and refresh the whole screen.


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