Well, why can't we pass parameter to a map:part. I think it should be 
possible. Is there a reason why it is not the case? (like break Soc,...)

Le Mercredi 21 Janvier 2004 11:10, Jan Hoskens a �crit :
> Hmm, that wasn't to smart of me, I was treating the <map:part> more or less
> like a generator/transformer, but it only calls the pipeline. Thanks for
> reminding me, David!
>
> Greetings,
>
> Jan
>
>   ----- Original Message -----
>   From: Carmona Perez, David
>   To: [EMAIL PROTECTED]
>   Sent: Wednesday, January 21, 2004 10:54 AM
>   Subject: RE: [map:aggregate] passing sitemap parameter
>
>
>   You must set a parameter to a value, thorugh an action or a matcher.
>
>   In this case, who sets the 'test' parameter?
>
>
>
>
>   --------
>
>   David
>
>
>
>   -----Mensaje original-----
>   De: Jan Hoskens [mailto:[EMAIL PROTECTED]
>   Enviado el: mi�rcoles, 21 de enero de 2004 10:48
>   Para: [EMAIL PROTECTED]
>   Asunto: [map:aggregate] passing sitemap parameter
>
>
>
>   Hi,
>
>
>
>   I tried to pass a parameter within my aggregation:
>
>
>
>   ...
>
>   <map:aggregate element="Document">
>       <map:part src="cocoon:/index" strip-root="true">
>        <map:parameter name="test" value="testval"/>
>       </map:part>
>   </map:aggregate>
>
>   ...
>
>
>
>   <map:match pattern="index">
>       <map:generate type="serverpages" src="pages/index.xsp">
>        <map:parameter name="test" value="{test}"/>
>       </map:generate>
>       <map:serialize type="xml"/>
>   </map:match>
>
>
>
>   When I show the parameter test, it always is empty. I looked at the logs,
> but when the part is called, I don't see where the parameter gets passed:
>
>
>
>   sitemap.log:
>
>   Current Sitemap Parameters:
>   LEVEL 1
>   PARAM: '0' VALUE: 'index'
>
>
>
>   that's all!
>
>
>
>   Why can't I pass parameters to a part? Or am I doing something wrong?
>
>
>
>   setup: cocoon cvs head 2.1, updated yesterday
>
>
>
>
>
>   Greetings,
>
>
>
>   Jan


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

Reply via email to