cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Morrison <>
Subject RE: new sql logicsheet!
Date Tue, 05 Sep 2000 13:03:16 GMT

How can I do something along the lines of...

 <esql:query>SELECT ID FROM table</esql:query>
    <id><esql:get-string column="ID"/></id>
     <esql:query>SELECT name FROM table WHERE ID = <esql:get-string
column="ID" ancestor="1"/></esql:query>
       <name><esql:get-string column="name"/></name>

Please excuse me if some of the tags don't align.

I know the example is a little contrived, what I'm essentially attempting to
do is get a result from a result set twice.  JDBC doesn't like this.  What I'd
like to know is if there's a way to get around this limitation in your taglib?

Other than that - great piece of coding!


View raw message