cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Russell <p...@luminas.co.uk>
Subject Re: logic in esql:no-results tag
Date Wed, 22 Nov 2000 11:16:53 GMT
On Wed, Nov 22, 2000 at 02:37:07AM -0800, Drasko Kokic wrote:
> <esql:no-results>
>   <error>no results were found</error>
>  
> <xsp:expr>response.sendRedirect(response.encodeURL("login.xml"));</xsp:expr>
> </esql:no-results>

Uh. Surely that should be <xsp:logic/>, not <xsp:expr/>?
<xsp:expr/> is designed to return teh results of expressions, not
perform state changes etc. I suspect what's actually causing your
problem is a missing <xsp:content/> tagset in the logicsheet,
but I could be wrong.

Paul

-- 
Paul Russell                               <paul@luminas.co.uk>
Technical Director,                   http://www.luminas.co.uk
Luminas Ltd.

Mime
View raw message