You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Irv Salisbury III <ir...@dotech.com> on 2004/12/15 14:49:04 UTC
Re: [Cocoon-Users] act: hiding {1}
Ben, you need to use {../1}. When you are inside an action, the
"context" of the {} is the action itself. To get to the parent
"context", you need to use ..
Irv
Ben Anderson wrote:
>Hi,
>I'm trying to use the RequestParamAction, but when I do so, it blocks
>use of my normal {1} variable? Is there a way around this? Below is
>my sitemap excerpt. The first {1} works fine, but the second one does
>not. Is there a way to get at the {1} variable inside from within
>this <map:act>?
>
><map:match pattern="ws/*">
> <map:generate type="request"/>
> <map:transform src="xslt/ws/{1}-setup.xsl" label="setup"/>
> <map:act type="request">
> <map:parameter name="parameters" value="true"/>
> <map:transform type="myTransformer">
> <map:parameter name="fileName"
>value="mldm/xml/stubs/afterTransformer/{1}-{format}.xml"/>
> </map:transform>
>
>Thanks,
>Ben
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>For additional commands, e-mail: users-help@cocoon.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org