struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <newton.d...@yahoo.com>
Subject Re: validation and CSS
Date Thu, 20 Dec 2007 01:09:39 GMT
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.

--- "lei.java@gmail.com" <lei.java@gmail.com> 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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message