cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "roy huang" <lingererhu...@hotmail.com>
Subject Re: Can I pass sitemap variable to sub-sitemap?
Date Wed, 02 Jun 2004 08:09:24 GMT
Sorry ,the subject should be sitemap variable
----- Original Message ----- 
From: "roy huang" <lingererhuang@hotmail.com>
To: <users@cocoon.apache.org>
Sent: Wednesday, June 02, 2004 4:05 PM
Subject: Can I pass sitemap parameter to sub-sitemap?


> Hi,all:
>     the sitemap looks like:
>       <map:act type="test">
>        <map:match pattern="apps/*/**">
>         <map:mount uri-prefix="apps/{1}" check-reload="true" src="apps/{1}/" />
>        </map:match>
>       </map:act>
>     the action will set an sitemap variable like action,so I can use it like
>     <map:parameter name="action" value="{action}"/>
>     It works if in the same sitemap,but if I mount sub sitemap ,can this sitemap variable
pass to sub sitemap so I can use {action} in sub sitemap?
> 
> Roy Huang
Mime
View raw message