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

Write JSP Variable Values to the Webm Scope Option Param

  • 1.  Write JSP Variable Values to the Webm Scope Option Param

    Posted Wed December 29, 2004 05:16 AM

    I have problems with writing the JSP variable values dinamically to the Param on the Webm Scope. In the JSPDevGuide only mentions about writing it statically like below :
    <webm:scope options=“param(Input1=1) param(Input2=2)”>

    Then how to put the value in parameter Input1 and Input2 from JSP variable ? Thanks for any answers …


    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services


  • 2.  RE: Write JSP Variable Values to the Webm Scope Option Param

    Posted Wed December 29, 2004 08:18 PM

    Hello,
    Once you are in the scope, you can set the variables there with the usePipeline tag. Here is an example:

    { } : substitute angle brackets for the curly ones

    {webm:scope recordName=“null”}
    {webm:usePipeline}{%
    com.wm.data.IDataCursor idc = webm_pipe.getCursor();
    idc.insertAfter(“myVar”, myVarJSP);
    idc.destroy();
    idc = null;
    %}{/webm:usePipeline}
    {webm:value variable=“myVar” null=“NOT SET” /}
    {/webm:scope}

    Good day.

    Yemi Bedu


    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services