Hey, that works... cool.
Yes, that works too. See below for something to keep in mind though:
Steven J. Burr wrote:
I managed to get this to work for a similar application. Instead of using the
<map:parameter name="varname" value="{request-param:varname}"/>
element, I simply added
<map:parameter name="use-request-parameters" value="true"/>
to my map:transform element. This gives my stylesheet access to the request parameters, which are used to filter the data presented to the user.
I'm new too, so this may not be the best approach, but it's working in Cocoon 2.1 on my system.
The benefit of this is that all parameters are available to your stylesheet automatically, but there is a side-effect with respect to caching to consider. With use-request-parameters, the pipeline is cached for every combination of all your request parameters which you may not want. Say you use param1=value1¶m2=value2 where this pipeline only uses param1 and another pipeline (aggregated or cincluded) uses param2. With use-request-parameters, you will get a different cache entry for param1=value1¶m2=value3 when you really don't need it. Might not matter in your case, but something to keep in mind.
Geoff
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
