Hi,
I need to find a way of passing paramaters to generated content. Something like
passing the site section to be used in a local menu, like this:
<map:match pattern="">
<map:parameter name="siteSection" value="/frontPage" />
<map:aggregate element="page">
(...snip...)
<map:part src="sectionMenu" element="layout-rightbar" />
(...snip...)
</map:aggregate>
(...snip...)
</map:match>
to be used like this:
<map:match pattern="sectionMenu">
<map:generate type="serverpages" src="datasources/menu.xsp">
<map:parameter name="rssChannelSection" value="{siteSection}" />
</map:generate>
</map:match>
However, the {section} comes out null... Do I have to write some action to pass
parameters onto the sitemap?
Thanks for any help,
Sergio
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>