On Thu, 30 May 2002, James Strachan wrote:

> Date: Thu, 30 May 2002 12:34:42 +0100
> From: James Strachan <[EMAIL PROTECTED]>
> Reply-To: Jakarta Commons Developers List <[EMAIL PROTECTED]>
> To: Jakarta Commons Developers <[EMAIL PROTECTED]>
> Subject: [beanutils] adding DynaBean.populate(Map) method?
>
> When working with DynaBeans it might be nice to offer a populate(Map) method
> to easily populate a DynaBean from a map where the keys are property names
> and the values are the new property values to populate. I've already hit a
> use case for this in Jelly. Adding this method to DynaBean would also mirror
> the BeanUtils.populate(Object bean, Map) method in a more OO way.
>

Can't you just use BeanUtils.populate() for this already?  It knows (or if
not it's a bug) how to deal with DynaBeans.

Since o.a.c.b.DynaBean is an interface, wouldn't this break every existing
DynaBean implementation in the world?

> I'm happy to go ahead and do the work for this if folks agree. Does this
> seem a sensible idea? I'm +1
>
> James
>

Craig


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to