commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robert burrell donkin <robertburrelldon...@blueyonder.co.uk>
Subject Re: [Digester] DynaBean Hierarchy and set-next-rule XML rule
Date Thu, 25 Nov 2004 22:00:56 GMT
On 25 Nov 2004, at 18:50, Craig McClanahan wrote:

> The "Set Next" rule is optimized for the case of attaching a child to
> a parent via a standard JavaBean property setter, so it doesn't know
> anything about DynaBeans.  However, you might want to take a look at
> the "Call Method" rule instead ... you can set up a call to a method
> that takes parameters, so you should be able to call the standard
> set() method on the DynaBean directly, passing the property name key
> and the appropriate value.

+1

i'm not sure whether there is an elegant way to fit dynabeans support 
to set next (and other rules). if there is, then i'd probably support 
adding it.

- robert


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message