You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by bachan s <ba...@yahoo.com> on 2002/10/22 22:35:40 UTC

Error Higlighting capability of Struts Tags

Hi,

Does the input tags in struts have any inbuild error highlighting capability .

What I mean is if the validate / any other method sets an error message with the key as the field name of a field , will the tag look into the ActionErrors object for each of the input fields and check whether the key is contained in the error object and do the following .

1. Give focus to the first error field even if the error there is a field given for the focus attribute in the form.

2. Give a different style background color/ text color to all the error filed.

 

Also is it advisable to use struts tags /JSTL tags for tags like logic ,bean etc ????

Thanks !

Bachan



---------------------------------
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site