"Craig R. McClanahan" <[EMAIL PROTECTED]> wrote on 03/02/2003 09:55:45 
AM:
> OK, it looks like the real problem is in
> o.a.c.beanutils.ConvertingWrapDynaBean -- which is using
> BeanUtils.setProperty() to perform the copy+conversion.
> 
> Unfortunately, setProperty() is specifically designed to deal with
> String->Object conversions, because it was originally there to support
> parsing bean settings out of HTTP request parameters for
> BeanUtils.populate().  As the JavaDocs say, this is probably not the
> method you normally want to use.
> 
> However, BeanUtils.copyProperty() is designed to perform general
> object->object conversions via ConvertUtils, and that sounds like what 
you
> really want.

Yep.

> I just checked in a change to this -- could you try with CVS HEAD of
> beanutils, or wait for tonight's nightly?  If that fixes the problem, we
> can probably do a 1.6.1 bugfix release (once I add some unit tests for
> this class).
I'll check it out of cvs asap and get back to you.
--
dIon Gillard, Multitask Consulting
Blog:      http://www.freeroller.net/page/dion/Weblog
Work:      http://www.multitask.com.au




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

Reply via email to