cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giacomo Pati <giac...@apache.org>
Subject Re: [C2]Sitemap resource bugs
Date Thu, 16 Nov 2000 06:19:51 GMT
Lassi Immonen wrote:
> 
> Hi,
> 
> Following in sitemap doesn't work.
> Should we be able to call resources this way?
> 
> --- sitemap.xmap -----
> <map:match pattern="restest/*">
>         <map:redirect-to resource="{1}"/>
>   </map:match>

I don't like the above. Redirecting to a internal resource dynamically. Next
time you want something like this:

   <match patter="hello.*">
     <serialize type="{1}"/>
   </match>

> <map:match pattern="restest1/*">
>         <map:redirect-to uri="/cocoon/{1}"/>
>   </map:match>

This was never meant to be legal but if more people find this usable.

Giacomo

Mime
View raw message