Re: Validating start and end dates

2004-10-19 Thread Milind Rao
gt; converted values. > (In the form, you will need to convert the entered String value into > either using the dashes or slashes). > > For item 2, in the ActionForm.validate() method I'd implement the date > ordering rule. There may be more clever ways ... YMMV. > > -Bi

Validating start and end dates

2004-10-19 Thread Milind Rao
I'm using the Validator framework to validate dates and I have two questions 1. I'd like the user to be able to enter a date using different delimiters like '/' or '-'. So both MM-dd-y and MM/dd/ should be allowed. Is there a way to do that? Currently I'm using the built-in date validat

Re: html:errors for indexed properties

2004-08-31 Thread Milind Rao
Worked well. Thanks. Used html:errors instead of the message for brevity. It would have been nice if html:errors could have been set with indexed="true". Would have prevented the scriplet and been more consistent. Regards Milind --

html:errors for indexed properties

2004-08-31 Thread Milind Rao
I have googled and searched the mailing list, but couldn't find an answer to this. I have a DynaValidatorForm containing a collection of objects presented using the logic:iterate tag in the JSP. The validation of the objects in the collection is done in the validation.xml file using something lik