Artur Bialecki wrote:

>Sitemap parameters that are returned by an actions
>are not available when <map:act> doesn't have any
>child nodes other than <map:parameters/>.
>
>So the following doesn't work:
>   <map:match pattern="somepage.xml">
>     <map:act type="my-act" src="{0}"/>
>     <map:generate/>
>     <map:transform src="{return-act-param}"/>
>     <map:serialize/>
>   </map:match>
>
>but this does:
>
>   <map:match pattern="somepage.xml">
>     <map:act type="my-act" src="{0}">
>       <map:generate/>
>     </map:act>
>     <map:transform src="{return-act-param}"/>
>

Here you are trying to access parameter return-act-param from the map of 
parameters returned by *matcer*. Unfortunately, default matcher 
(wildcard URI matcher) does not return such parameter.


>     <map:serialize/>
>   </map:match>
>
>Any reason for this ??
>

It's a *stack* of parameters. Return parameters do exist only while in 
*scope* of the component which created them.

Vadim



>Thanks,
>
>Artur...
>



---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to