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

Retrieving URL parameter

  • 1.  Retrieving URL parameter

    Posted Sat February 07, 2009 02:15 PM

    Hi,

    How do i retrieve url parameters in JSR168 portlet.

    Regards,
    Marudeep


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


  • 2.  RE: Retrieving URL parameter

    Posted Mon February 09, 2009 06:46 PM

    From java code:

    Map requestParams = getFacesContext().getExternalContext().getRequestParameterMap()
    Object value = requestParams.get("key");

    Or from a binding expression:

    #{facesContext.externalContext.requestParameterMap["key"]}

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