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="" strip-root="true">
     <map:parameter name="test" value="testval"/>
    </map:part>
</map:aggregate>

...

 

<map:match pattern="index">
    <map:generate type="serverpages" src="">      <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

Reply via email to