Hi, I was experimenting with C2:s cinclude system and found out that original sitemap parameters do not exist when cincluded content is called
I'm wanted to use url itself to describe user and I needed to forward that
info on Python scripts.
<map:match pattern="data/*/*">
<map:act type="request">
<map:parameter name="attr.user" value="{1}"/>
<map:parameter name="attr.date" value="{2}"/>
</map:act>
<map:generate src="data.xsp" type="serverpages"/>
<map:transform type="cinclude"/>
and in data.xsp I have:
<cinclude:include src="cocoon:/projects.py"/>
So the above is only solution I found to be able to get user in python
script.
I don't know would/should it be possible to have original sitemap map
available when content is called in an aggregated way?
Thanks,
Lassi Immonen
RequestParamAction.java.diff
Description: Binary data
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
