Hello, I got a problem using Validation with Dateformat and the generateForm() in my Element.
I have a simple Bean with som text, number and a date fields. If the submitted Bean is not Valid, I will generate the errors, and the Markers in the Template. Then a generataForm() is called to regenerate the form. This works pretty well for all Fields, except for Datefields. If I submit a wrongly formated Date (or a bogus word) the method call for generateForm() throws an Exception "Cannot format given Object as a Date" Funny thing is that if a submit a word in a number field, the error markings are generated correctly, and the generateForm() does not throw an exception. My problem here is, that if I submit a wrong date, all other form info (hidden fields, select boxes) are not generated either. Is there a way to set the "wrong" Date to a NULL value or something similar? Mit freundlichen Grüßen / With kind regards Huibert Gill _______________________________________________ Rife-users mailing list [email protected] http://lists.uwyn.com/mailman/listinfo/rife-users
