You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Mark Lundquist <ml...@wrinkledog.com> on 2007/01/05 18:56:25 UTC

Set request attribute from sitemap (was Re: passing Value from Pipline to another Pipline)

On Jan 5, 2007, at 7:45 AM, Toby wrote:

> Thinking about it, I'm not sure if you can *set* a request attribute
> from the sitemap.

You can.

There are 2 ways:

1) Use a PropagatorAction configured with the 
RequestAttributeOutputModule

2) Use the SetterAction configured in "request-attrubute" mode.

They both do the same thing.  (1) is better IMHO, hopefully (2) will be 
deprecated someday.

cheers,
—ml—


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org