Subject: Re: Best way to deal with Form object String parameters into another bean?
From: Will Jaynes <[EMAIL PROTECTED]>
 ===
Are there any plans to enhance BeanUtils so that a more general 
conversion can take place (like from string to date). I notice the 
BeanUtil javadocs have a Converter interface mentioned, but I don't 
think anything actually uses it.


> If all the public properties you want to transfer are native types, and
> everything has been validated so you know it should convert, you can
> just do something like:
> 
>  BeanUtils.populate(employeeBean,BeanUtils.describe(employeeForm));
> 


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

Reply via email to