cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From magnus.egnerf...@home.se
Subject Re: Problem with esql-taglib
Date Tue, 17 Oct 2000 17:03:57 GMT

> hmm. what if you use
> 
> <xsp:expr>session.getValue("msisdn").toString()</xsp:expr>
> 
> instead of
> 
> <session:get-attribute name="msisdn"/>
> 
> (or whatever it is)?
> 
> - donald

It doesn't make any difference it still generates the no-results
caluse. The query looks like this with the change:

<esql:query>select customerid from msisdn2contract where
msisdn='<xsp:expr>session.getValue("msisdn").toString()</xsp:expr>'</esql:query>

If I make a change in calling the page and pass the parameter as a request
parameter http://file?msisdn=628882101 and fetch it through the request
object it works.

<esql:query>select customerid from msisdn2contract where
msisdn=<xsp:expr>request.getParameterValues("msisdn")[0]</xsp:expr></esql:query>

This way I can get around the problem but I would prefer to find a
solution to this problem. 

/Magnus


Mime
View raw message