cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Piroumian, Konstantin" <KPiroum...@flagship.ru>
Subject Re: Use of internal pipelines
Date Mon, 05 Nov 2001 10:49:13 GMT
I think that you can use sitemap internal redirects for this:

 <map:match pattern="shoppingcart.html">

     <map:act set="shoppingcartactions">

         <map:redirect uri="cocoon:/..............."/>

     </map:act>

 </map:match>

I'm not sure that aggregation will work in <map:resource />, but you can try
that too.

Regards,
    Konstantin Piroumian

> Hi,
>
> I have a lot of pages which all use the same aggregation but use different
> actions or action sets. Right now I have written all pages that use
> different actions or action sets out in my sitemap (all with the same
> aggregation), but I wonder if I can simplify this.
>
> Is something like the following available (the same way aggregation uses
> internal/cocoon pipelines, but now without the aggregation), should I use
a
> resource for this, a generator or is there another approach?
>
> <map:match pattern="shoppingcart.html">
>
>     <map:act set="shoppingcartactions">
>
>         <map:use-pipeline src="cocoon:/..............."/>
>
>     </map:act>
>
> </map:match>
>
>
>
> Right now I have a large amount of the following patterns in my pipeline:
>
> <map:match pattern="shoppingcart.html">
>
>     <map:act set="shoppingcartactions">
>
>         ... aggregation ...
>
>     </map:act>
>
> </map:match>
>
> <map:match pattern="shoppingcartdetails.html">
>
>     <map:act set="shoppingcartdetailactions">
>
>         ... aggregation ...
>
>     </map:act>
>
> </map:match>
>
> TIA,
>
> Michael Homeijer
>
>
>
>
> ---------------------------------------------------------------------
> 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: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
>

---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message