Do you also have an alternate style for the input's label text?
For instance, a form often looks like this:
<bean:message key="firstName"/> <html:text property="firstName" /><br> <bean:message key="lastName"/> <html:text property="lastName" /><br> <bean:message key="address"/> <html:text property="address" /><br>
If the "address" property fails validation, then one would normally expect that the bean message (which probably just displays the word "Enter you Address Here" or something) would be highlighted as well.
Something else that's useful is to highlight something that might have changed, or a field that is new, in an environment that contains workflow.
Pablo Casado and myself came up with some code that compared beans using reflection to compare the values of the getters in the bean. If bean.getFoo() was different to bean2.getFoo(), then a String "foo" was added to a List.
If the string "foo" existed in the List, then the style on that element was rendered as "changed" (in our case blue text instead of black text).
If anyone wants to look at the code, just shout.
Regards, Graham -- ----------------------------------------- [EMAIL PROTECTED] "There's a moon over Bourbon Street tonight..."
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]