Not to mention that DateFormats are not thread-safe, and I'm fairly sure 
Converter access is not synchronized.

> ----Original Message----
> From: [EMAIL PROTECTED]
> Date: Oct 28, 2005 3:17:17 PM
> To: dev@struts.apache.org
> Subj: Re: java.util.Date in Action Form Bean
> 
> So far I'm doing this by registering a custom implementation of 
> Converter which I instantiate with a suitable instance of 
> SimpleDateFormat before calling BeanUtilsBean.copyProperties().
[...]
> That's untested code, and the implementation of convert() should incude 
> checks for value being null, not a String, etc and handling for if the 
> date can't be parsed... but it gives you the rough idea.
> 


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

Reply via email to