Filter using variable value

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?

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