Hi, you can use validation framework of Struts, it's a plugin of
Struts,
remember to set the property stopOnFirstError to true, this make the
first error field focused.
No, this just displays the first error -
(on a side note, this did not even work for me...)
but I want to display all errors,
Hi, AFAIK, Struts validation doesn't support this kind of behavior.
It will:
1. Display all the errors (grouped by category) and focus the last error
field.
2. Display the first error, focused on the first error field and stop
validation.
PS: You can make the error field's selected, just modify
If you want you can use FormView. It manage the first error returned by
validation.
See use case of formview for manage errors with your fields at
http://formview.sourceforge.net/errors.html
Regards Angelo
2006/6/7, Truong Xuan Tinh [EMAIL PROTECTED]:
Hi, AFAIK, Struts validation doesn't
3 matches
Mail list logo