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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
Expand all | Collapse all

Filter using variable value

  • 1.  Filter using variable value

    Posted 03/28/03 10:53 AM

    X-Application Version: 4.1.1
    Tamino Version : 4.1.1
    Platform : Win2kP
    WebContainer : Tomcat 4.1.18
    JDK Version : 1.4.1

    I am migrating an existing X-APP to version4.1.1, and I am using this method to build a filter for a query in search.jsp:

    <select name="valCompl">
    <option value="" >Both</option>
    <option value="Complete" >Complete</option>
    <option value="Incomplete" >Incomplete</option>
    </select>
    <xapp:setvar name="fCompl" scope="session" value="[request/completed='${valCompl$}']" default="" />
    <xapp:setvar name="querySearch" scope="session" value="/resreq${fCompl$}" default="" />
    <xapp:action collection="${CSGVariable$}" type="query" arg="${querySearch$}" form="form1"></pre><BR>I always get unfiltered data back (all values, Complete and Incomplete). If I hardcode:<BR><pre class="ip-ubbcode-code-pre"><xapp:setvar name="fCompl" scope="session" value="[request/completed='Complete']" default="" />


    the query works. So the linking between the Selected value and setvar seems not to work. Did I do something wrong?


    #Tamino
    #API-Management
    #webMethods


  • 2.  RE: Filter using variable value

    Posted 03/28/03 03:22 PM

    Hi Bill,

    I had a look on your problem and I tried to
    retrace it. One my machine it works.

    Probably I need a better overview over your page.
    Are you able to send me the page, though I can have a better look onto it.

    Did you define the Collection variable in the
    xapplication.xml file?

    Sorry, that I can’t help you at the moment.

    Bye
    Thorsten


    #Tamino
    #API-Management
    #webMethods