directcommand dynamic query ?

hi,

Suppose we have
<bdm:directcommand type=“query” schema=“Property” queryparm="/entry/date_added > ‘???’ " />

is it possible to have the ??? be dynamic that is be setup by a jsp variable. i did try querparam=“USEBODY”
and then jsp var initialized with todays date, it did not work. Like my previous posting in the same i find trouble some to get values in/out to/from jsp variables and tag library variables.

Is there any advice.

regards.
Amit



X-Application Version: 3.1.2, 3.1.1
Tamino Version : 3.1.1
Platform : NT, Win2k, Solaris, …
WebContainer : Tomcat 3.3
JDK Version : 1.3.1

Hello Amit,

I had expected that the using ‘USEBODY’ would be the solution for your requirement. To support you for this problem it would be very helpful for us if you could post your JSP page as example to the community.

Is it possible?

Thanks,
Christian.

thanks here is what i am trying to do,

<% String lastvisited = “'”+“2002-01-01”+“'”;
%>

<bdm:form module=“bdProp”>
<bdm:directcommand type=“query” schema=“entry” queryparm=“USEBODY”>
/entry/date_added > lastvisited
</bdm:directcommand>

Is this the right way of doing it ?

Thanks for all your help
Amit

I thing you have to enclose lastvisited in
<%= … %> like this:

<bdm:form module=“bdProp”>
<bdm:directcommand type=“query” schema=“entry” queryparm=“USEBODY”>
/entry/date_added > <%= lastvisited %>
</bdm:directcommand>


Michael

Software AG Germany, Darmstadt

Michael ,
oh my mistake, thanks for correcting this, i am using the tag libraries for the first time, never knew i could use <%=%> inside a tag.

Thanks a lot, appreciate your time
amit