Hi Ashish,
If you're using Struts 2, and the xhtml/css_xhtml theme, the template
for each field in the form includes "controlheader-core.ft" that
provides the logic to include the html to report field errors.
Here is an extract:
<#assign hasFieldErrors = parameters.name?exists && fieldErrors?e
Hi All,
I am developing a form using jsp. If validation fails then I want those fields
to be highlighted . I am able to print error message on top but not able to
highlight the text( for example UserName(if it contains less characters)).
Please somebody suggest some solution for this.
Thanks
A
2 matches
Mail list logo