cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Maxime.Ghey...@swisscom.com>
Subject How to set an ESQL value into a variable?
Date Wed, 26 Feb 2003 09:07:07 GMT
Hi,
I make a connection (using ESQL) and get a value <esql:get-string
column="MYVAR"/> .

How can I get this value on the page to build another query like :

Select * From mytable where ID = "MYVAR"

I tried with <xsp:parameter name="MYVAR"><esql:get-string
column="MYVAR"/></xsp:parameter>
But when I request it I get the error : variable MYVAR not defined. Even
if I add
<xsp:logic>
Int MYVAR = 0;
</xsp:logic>

How can I put my ESQL value into a variable?

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Mime
View raw message