Re: How use the BeanUtils and interface converts

2004-11-12 Thread Radu Badita
A simpler alternative to that approach would be to simply make an additional setter method in you bean (and getter if appropriate) for your Date member which takes a String, parses it (preferably according to the user's Locale) and sets your Date member. The form data should be first validated, oth

Re: How use the BeanUtils and interface converts

2004-11-05 Thread Joe Germuska
Writing a date converter is pretty simple; the only reason there isn't one included in the beanutils distribution is that there's not a very easy way to configure the date format in a universal way. Below is an example. This one is implemented as a static inner class within the only class wh