cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Newland" <chris.newl...@emorphia.com>
Subject RE: FW: C2: Action to modify request parameters
Date Wed, 05 Sep 2001 15:19:44 GMT
Hi Chris,

I've found that simply changing the testing order of attribute and parameter
in the AbstractDatabaseAction setColumn method appears to be enough to allow
request attributes to override request parameters.

I'd be very interested in seeing your changes since mine are just a quick
fix and not an architectural alternative :)

Regards,

Chris

> -----Original Message-----
> From: Christian Haul [mailto:haul@dvs1.informatik.tu-darmstadt.de]
> Sent: 05 September 2001 15:40
> To: cocoon-dev@xml.apache.org
> Subject: Re: FW: C2: Action to modify request parameters
>
>
> On 05.Sep.2001 -- 12:18 PM, Chris Newland wrote:
> > Hi All,
> >
> > I have a problem with the Database<Add|Delete|Update>Action actions. I'd
> > like to use an intermediate action to modify request parameters
> before they
> > are sent to DatabaseXAction action but I can't set them back
> into request
> > parameters (which is where the DatabaseXAction actions reads
> them from - See
> > attached conversation below).
> >
> > I would like to suggest that either:
> >
> > 1) in DatabaseXAction, request attributes are allowed to
> override request
> > parameters of the same name
>
> Chris,
>
> I have a database add action in queue that delegates obtaining of
> values to configurable classes. It uses a different syntax for the
> descriptor file, though, and needs some cleaning before I dare to
> release it into the public. Anyway, it does work right now. I haven't
> found spare time for it in days but hope to do it this week. I hope
> that it would require relatively small effort to create similar update
> / delete / select actions.
>
> So you might stay tuned until then, contact me in private mail for a
> dirty working copy or of course go ahead and modify the existing
> actions.
>
> 	Chris.
>
> --
> C h r i s t i a n       H a u l
> haul@informatik.tu-darmstadt.de
>     fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>
>
>



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


Mime
View raw message