I believe the errors are within a "span" with class "errorField" (it may
be something else). Custom CSS can make you look like whatever you want.
[EMAIL PROTECTED] wrote:
Thanks Dave. It seems the simple theme is used so the message is in black.
I overrode the ..errorMessage style in JSP which solved my problem but I'm
not sure if it's a right way to do that.
Thanks again.
On Dec 19, 2007 8:09 PM, Dave Newton <[EMAIL PROTECTED]> wrote:
Er, the default stylesheet *does* make it show up in read. Are you using
the
<s:head/> tag? IIRC that is what includes the CSS file.
d.
--- "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
Is there a way to apply style sheet (CSS) to the message validator
generates? For example, how to make the "Color me red" message in red
when
it is shown up?
<validators>
<field name="pin">
<field-validator type="requiredstring">
<message>*Color me red*</message>
</field-validator>
</field>
</validators>
Many thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Alberto A. Flores
http://www.linkedin.com/in/aflores
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]