cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From KOZLOV Roman <r-koz...@opencascade.com>
Subject Re: Parameters, their stack and cocoon: protocol....
Date Tue, 18 Jun 2002 07:45:21 GMT
Hi,

What is {2} in this case? It seems that you can use {1} because there is one "*"
only.

Roman

Per Kreipke wrote:

> This is a two part question.
>
> - If I call another pipeline with an XSP file using the cocoon: protocol, it
> doesn't seem as if the caller's sitemap parameters are available to any XSP
> the called pipeline. Is that true? E.g.
>
>   <!-- Callee -->
>   <map:match pattern="config">
>      <map:generate src="config.xsp" />
>      <map:serialize type="xml" />
>   </map:match>
>
>   <!-- Caller -->
>   <map:match pattern="*/foo">
>     <map:generate src="cocoon:/config>
>       <map:parameter name="client" value="{2}" />
>     </map:generate>
>   </map:match>
>
> in config.xsp, I can't get the value of {client} through
> parameters.getParameter("client").
>
> - corollary: is the stack of parameters available to XSP file? Or is there a
> way of getting the parent of the parameters?
>
> Per
>
> ---------------------------------------------------------------------
> 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:     <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


---------------------------------------------------------------------
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:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message