I would like to propose a small extension for <html:errors> tag:
In case you don't want to display specific error message, but just "mark" some field
as a "bad one", you can display some icon or just exclamation sign close to the field.
It can be achieved by introducing of "format" attribute:
<td align="left">
<html:text property="username" size="16" maxlength="16"/>
<html:errors property="username" format="short"/>
</td>
</tr><tr>
<td align="left">
<html:text property="password" size="16" maxlength="16"/>
<html:errors property="password" format="short"/>
</td>
format can be customized in message resource:
errors.format.short=<font size='4' color='#B22222'><b>!</b></font>
Dmitri Valdin
(See attached file: changes.zip)
--
Diese E-Mail enth�lt vertrauliche und/oder rechtlich gesch�tzte Informationen. Wenn
Sie nicht der richtige Adressat sind oder diese E-Mail irrt�mlich erhalten haben,
informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das
unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.
This e-mail may contain confidential and/or privileged information. If you are not the
intended recipient (or have received this e-mail in error) please notify the sender
immediately and destroy this e-mail. Any unauthorized copying, disclosure or
distribution of the material in this e-mail is strictly forbidden.
=?iso-8859-1?Q?changes.zip?=
Description: Zip archive
=?iso-8859-1?Q?diff.txt?=
Description: Binary data
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
