On 29.Nov.2001 -- 06:02 PM, [EMAIL PROTECTED] wrote:
> Hello,
> 
> 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...

Beware: resource != resource

"resource" = any URI => <map:redirect-to uri=""/> => not possible after generate

"resource" = <map:resource/> => <map:redirect-to resource=""/> => possible everywhere 
in pipeline

        Chris.

-- 
C h r i s t i a n       H a u l
[EMAIL PROTECTED]
    fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

---------------------------------------------------------------------
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