Re: Focus on error fields when validation fails

2009-04-18 Thread Suneel
Take a look at documentation for both tags. The property attribute is what you are looking. Pls read the documentation before posting. On Sat, Apr 18, 2009 at 2:07 PM, abhishek reddy wrote: > thanks for the reply...it will just let me know if error messages are > present or not... > is it possibl

Re: Focus on error fields when validation fails

2009-04-18 Thread abhishek reddy
thanks for the reply...it will just let me know if error messages are present or not... is it possible to retrieve error field name from it. On Sat, Apr 18, 2009 at 7:23 AM, Suneel wrote: > You need to use these tags: > > > > > On Sat, Apr 18, 2009 at 3:46 AM, abhishek reddy > wrote: > > hi

Re: Focus on error fields when validation fails

2009-04-18 Thread Suneel
You need to use these tags: On Sat, Apr 18, 2009 at 3:46 AM, abhishek reddy wrote: > hi all, > > how to highlight error fields in struts html form when validation fails i.e i > want my cursor focus on the error field when validation fails. ? > > Note: Validations are performed on the server si

Focus on error fields when validation fails

2009-04-18 Thread abhishek reddy
hi all, how to highlight error fields in struts html form when validation fails i.e i want my cursor focus on the error field when validation fails. ? Note: Validations are performed on the server side (validate() method of respective form bean) this is what iam doing... ActionMessages errors