On Thursday 29 November 2001 12:02 pm, you wrote:
> I look for a possibility to redirect the processing of a resource in C2
> after a generator- and a transformer-call to another resource, the
> obvious solutions would be <map:redirect-to> or <map:read> at the
> end of the resource.
> I think of something like this:
>
>      <map:match pattern="**">
>           <map:generate src="statistics.xml"/>
>           <map:transform type="statistics"/>
>           <map:redirect-to uri="barrier/{1}"/>
>      </map:match>
>
> But both alternatives do not work after generator- and transformer-calls.
> Do I oversee something ? Or do I have to implement an action...

I would recommend implementing an action and calling the action before the 
generator. Once you start the SAX stream, you may no longer be able to 
redirect, depending on whether or not the client has started to receive 
content yet.
-pete

-- 
peter royal -> [EMAIL PROTECTED]

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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

Reply via email to