Hi all, I would like to propose to be added an IFormValidator that will be passed to the form component and will be invoked when the form is submitted. This kind of validator will be responsible for validation of the properties when there is a relation between them. For example if you have a form with 2 text fields - for StartDate and EndDate, you can make an IFormValidator that ensures that the StartDate is before the EndDate and registers appropriate errors in the ValidationDelegate as a unassociated trackings. They could be shown before or after the form as error strings. Currently, this has to be done manually in the formSubmit() method. If we made this kind of validator, the "formSubmit()" will be responsible for executing the form action and form validation will be made by IFormValidator and ValidFields. I think it is cleaner from a design point of view. (I have submited a feature request)
best regards Tsvetelin Saykov ------------------------------------------------------- This SF.net email is sponsored by: Get the new Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en _______________________________________________ Tapestry-developer mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/tapestry-developer
