You could pass a css class to the <s:actionerror> tag.
If the HTML code that produces <s:actionerror> doesn't satisfy you,
you can define your own actionerror.ftl template.

2008/7/14 wild_oscar <[EMAIL PROTECTED]>:
>
> Because I want just a simple list of actionErrors, I have an iterator for the
> actionErrors such as:
>
> <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?
>
> --
> View this message in context: 
> http://www.nabble.com/-S2--s%3Aproperty---how-to-use-CSS-on-it--tp18440945p18440945.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to