DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33436>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33436





------- Additional Comments From [EMAIL PROTECTED]  2005-02-08 01:05 -------
The shame is that since you have to go to the trouble of configuring validator 
with the date format and then validator goes and does the parse and converts it 
to a java.util.Date - that then doesn't get passed on to populate the actual 
property of whatever bean you want. It would also be nice if validators also 
passed on converted values to dependant validations. That way if I wanted to 
implement some custom date check (e.g. must be future date) I already have a 
valid java.util.Date to work with.

Having said that validator does put the results into a ValidatorResults object 
but, for example, Struts doesn't do anything with that - and I'm guessing 
SpringMVC doesn't either. Also there isn't a way to configure validator to pass 
the converted value - you would have to build that into your custom validation. 
I also have a feeling that 'indexed' properties don't actually have 
their 'index' value in the results - but thats only from memory, so I could be 
wrong on that.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

Reply via email to