cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brent Johnson <>
Subject Re: [esql] xsp:logic doesn't work inside <esql:query>?
Date Thu, 29 Jul 2004 21:32:48 GMT
I'm not sure if its allowed or not.  But I generally do my Java logic
prior to the esql tags.  For example.. instead of what you posted I
usually do something like:

        String newvar = null;
        if (myvar) {
            newvar = "thisval";
        } else {
            newvar = "thatval";
        insert into mytable (myvar) values

Not sure if this answers your question though.

Hope this helps,

- Brent

----- Original Message -----
From: Christina <>
Date: Thu, 29 Jul 2004 16:33:04 -0700
Subject: [esql] xsp:logic doesn't work inside <esql:query>?

I tried to use if () inside <esql:query> like this: 
            if (true) { 
but every time there is error message on this "if", it is ok if I
delete everything before and after the nested <xsp:logic> tag.
So <xsp:logic> cannot work inside of <esql:query>? or I did something wrong? 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message