cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Javier del Gesu <delgesu-coc...@thinknola.com>
Subject Re: modular database actions and passing params from sitemap
Date Mon, 13 Oct 2003 14:46:36 GMT
* Christian Haul <haul@dvs1.informatik.tu-darmstadt.de> [2003-10-13 09:02]:
> On 13.Oct.2003 -- 11:05 AM, Joose Vettenranta wrote:

> > I didn't find info on the subject, to how to pass information to
> > AddAction from sitemap.
> > 
> > I have created resource, which I call with certain parameters. These
> > parameters I would like to add to database.. little like this:

> AFAIK there is no input module that has access to sitemap
> parameters. This was planned at some time but IIRC never happened.

> There is one alternative, though: use an action to store the
> parameters as request attributes and access them from the database
> descriptor. But, there is no such action ATM. However, it should be
> trivial to modify the SessionPropagatorAction to store as request
> attributes instead of session attributes. Or to make it
> configurable. Or to make a generic one that uses output modules ;-)

If someone were to do the above, would it be worth creating a patch?

-- 
Javier del Gesu - delgesu@thinknola.com

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


Mime
View raw message