| Author |
html:errors
|
Muni K Reddy
Ranch Hand
Joined: Aug 23, 2007
Posts: 74
|
|
Hi Guys, Im new to struts and trying out a small application. The application is simple. It has a html form which contains 3 fields say EmpName, EmpId, EmpPhone. I have have written the validation in the corresponding in the corresponding form bean. Obviously, using <html:errors/> I can display an error message. In addition to this, I would like to actually highlight(changing the fields background colour) all the fields which has an errors. Thanks in Advance!
|
 |
Merrill Higginson
Ranch Hand
Joined: Feb 15, 2005
Posts: 4864
|
|
|
You'll find some suggestions in this thread.
|
Merrill
Consultant, Sima Solutions
|
 |
Muni K Reddy
Ranch Hand
Joined: Aug 23, 2007
Posts: 74
|
|
|
Thanks mate!
|
 |
Nyanas Kandhan
Ranch Hand
Joined: Jan 27, 2009
Posts: 35
|
|
For an example on Highlighting Error Fields you can refer here.
Struts Highlighting Error Fields
regards
Struts Developer
|
regards,
Nyanaskandhan
|
 |
 |
|
|
subject: html:errors
|
|
|