AW: focus on first error

2006-06-07 Thread marcus biel \(innoWake gmbh\)
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,

Re: AW: focus on first error

2006-06-07 Thread Truong Xuan Tinh
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

Re: AW: focus on first error

2006-06-07 Thread Angelo zerr
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