cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jorg Heymans ...@domek.be>
Subject Re: Checking if a Continuation is valid - ContinuationValidityAction?
Date Thu, 19 May 2005 20:42:11 GMT

Paul Crabtree wrote:
> Hi all,
> 
> My requirement is that if i have a url constructed like this:
> http://localhost/page1.html?continuation-id=477e5533570132484a3d34491e7d8e6f50214938
> 
> - if the continuation ID is valid id like to execute that continuation.
> - if it is invalid i'd like to redirect the user to page1.html
> 

IIRC, a specific exception is thrown when an invalid continuation is
requested. You can define an error handler on that pipeline to handle it
appropriately (see
http://cocoon.apache.org/2.1/userdocs/concepts/errorhandling.html)


HTH
Jorg


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message