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: [S2] s:property - how to use CSS on it?
Date Mon, 14 Jul 2008 12:55:19 GMT
--- On Mon, 7/14/08, wild_oscar <miguel@almeida.at> wrote:
> <s:iterator value="actionErrors" >
>  <s:property/>
> </s:iterator>
> 
> However, how can I use Css calsses on the property? I want
> to display the error in red, but the property element doesn't 
> have any CSS property. What's the best way of applying a Css 
> syle to it?

<span class="..."><s:property/></span>

(Or <div...>, or put it in a list and have a class for list elements, or... any other
CSS methodology.)

Dave


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message