cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Lundquist ...@wrinkledog.com>
Subject Set request attribute from sitemap (was Re: passing Value from Pipline to another Pipline)
Date Fri, 05 Jan 2007 17:56:25 GMT

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


Mime
View raw message