cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lassi Immonen" <>
Subject [PATCH] RequestParamAction. Can now put sitemap parameters to request attribute
Date Tue, 21 May 2002 11:42:37 GMT

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="" value="{2}"/>
  <map:generate src="data.xsp" type="serverpages"/>
   <map:transform type="cinclude"/>

and in data.xsp I have:
<cinclude:include src="cocoon:/"/>

So the above is only solution I found to be able to get user in python

I don't know would/should it be possible to have original sitemap map
available when content is called in an aggregated way?

    Lassi Immonen

View raw message