cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Piroumian <KPiroum...@protek.com>
Subject RE: [PROPOSAL] map:redirect-to vs. map:forward
Date Tue, 09 Apr 2002 09:41:18 GMT
> From: Nicola Ken Barozzi [mailto:nicolaken@apache.org] 
> From: "Konstantin Piroumian" <KPiroumian@protek.com>
> 
> 
> 
> > I'd like to propose to add a <map:forward path="" /> node 
> to sitemap.
> > Behavior should be the same as <map:redirect-to 
> uri="cocoon:/..." />.
> 
> What's different from current map:call ?
> 
>         <map:call resource="dynamic-page">
>            <map:parameter name="target" value="{../target}1"/>
>         </map:call>

Isn't map:call used only with resources? With <map:redirect-to
uri="cocoon:/..." /> you forward your request to any another pipeline and
not to resource. So, <map:forward /> should replace the <map:redirect />
syntax with a more appropriate one.

Konstantin

> 
> -- 
> Nicola Ken Barozzi                   nicolaken@apache.org
>             - verba volant, scripta manent -
>    (discussions get forgotten, just code remains)
> ---------------------------------------------------------------------
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
> 
> 

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


Mime
View raw message