I found the discussion after I sent this question. It seems the result was
that the cocoon team decided not to allow redirects from handle-errors.

The link I refered to below is
http://cocoon.apache.org/2.1/userdocs/concepts/errorhandling.html in the
last text box on the page.

The specific issue is that when a user selects a navigation item, instead of
showing that item the business tier might throw an exception indicating that
the user must see and accept a legal disclosure before proceeding to the
requested page. If the disclosure has been previously accepted then the
pipeline executes normally.  Note that we do not use flowscript and have no
plans to (we really like the clear separation of controller from view and
model that the sitemap provides).

We have actually figured out how to do this by having the action that
invokes our business delegate handle the exception and return it in the Map,
but this feels akward.

Ralph

> -----Original Message-----
> From: Joerg Heinicke [mailto:[EMAIL PROTECTED]
> Sent: Friday, November 21, 2003 6:01 AM
> To: [EMAIL PROTECTED]
> Subject: Re: map:redirect-to and error handling
> 
> 
> Ralph Goers wrote:
> > I tried putting a map:redirect-to in my error handling 
> section and got an
> > error processing the sitemap saying that it isn't allowed?  
> Anybody know
> > why?
> 
> There were hard discussions about it:
> 
> http://marc.theaimsgroup.com/?t=105159867200001&r=1&w=2
> http://marc.theaimsgroup.com/?t=105169107000001&r=1&w=2
> 
> And as you can see with no real result.
> 
> >  However, the documentation on error handling shows an 
> example using a
> > (presumably) fictional action as <map:act type="redirect"> 
> and warning to do
> > this carefully.
> 
> Can you tell me where exactly this can be found?
> 
> > We have a desire to use exception handling to direct 
> alternate flows but are
> > looking for the "proper" way to do this.
> 
> Can you be a bit more explicite?
> 
> Joerg
> 
> -- 
> System Development
> VIRBUS AG
> Fon  +49(0)341-979-7419
> Fax  +49(0)341-979-7409
> [EMAIL PROTECTED]
> www.virbus.de
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to