cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Sonney <>
Subject Re: logic in esql:no-results tag
Date Wed, 22 Nov 2000 12:07:52 GMT
Hi Drasko!

On Wed, 22 Nov 2000, Drasko Kokic wrote:
> I have updated the Cocoon 1.8.1 from todays snapshot
> and have noticed that the following does not work
> anymore:

Correct. No results is now a child element of esql:results. So your xml
might look something like this (You'll note that I use the response
taglib for your manula redirect in the example below) :

<esql:query>select * from table where id=3</esql:query>
<result>I have a result of <esql:get-string coulmn="3"/>
<error>no results were found</error>
</response:send redirect>

| Kevin Sonney |
| Systems Programmer |

"The weakest link in any civil rights case is always the
defendant. Imagine being a lawyer and getting a call from me. That's why I
try to, uh, behave myself." - Hunter S. Thompson

View raw message