Re: [appfuse-user] Data binding errors and java.util.Date

2007-08-09 Thread Developer Abe
I appreciate your help. I gave up on Valang. I don't think it works. Here is what I did for others using Spring MVC: Created a new class which implemented Validator with the following validate method: public void validate(Object target, Errors errors) { KeyMetadata givenData = (Key

Re: [appfuse-user] Data binding errors and java.util.Date

2007-08-09 Thread Matt Raible
On 8/8/07, Developer Abe <[EMAIL PROTECTED]> wrote: > Hi Matt, > > I read that post and it was helpful but I still don't think I understand > what is meant by > > "use a String property, and then do some custom formatting (after > validation) to make it into a date". > > If I understand correctly w

Re: [appfuse-user] Data binding errors and java.util.Date

2007-08-08 Thread Developer Abe
Hi Matt, I read that post and it was helpful but I still don't think I understand what is meant by "use a String property, and then do some custom formatting (after validation) to make it into a date". If I understand correctly when you said that it doesn't make sense to "to validate a java.uti

Re: [appfuse-user] Data binding errors and java.util.Date

2007-08-08 Thread Matt Raible
This should help: http://www.jroller.com/raible/entry/validating_dates_with_commons_validator Matt On 8/8/07, Developer Abe <[EMAIL PROTECTED]> wrote: > Getting the following: > > [keymanager] DEBUG [main] > KeyMetadataFormController.showNewForm(322) | Displayin > g new form > [keymanager] DEBUG