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:[EMAIL PROTECTED]]
> Sent: 05 September 2001 15:40
> To: [EMAIL PROTECTED]
> 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
> [EMAIL PROTECTED]
>     fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to