[ http://issues.apache.org/struts/browse/WW-771?page=all ]

Don Brown updated WW-771:
-------------------------

    Fix Version: Future
                     (was: 2.0.0)

> Add an "errorStyleClass"-like attribute to form element tags
> ------------------------------------------------------------
>
>          Key: WW-771
>          URL: http://issues.apache.org/struts/browse/WW-771
>      Project: Struts Action 2
>         Type: New Feature

>   Components: Views
>     Reporter: Xavier Defrang
>     Priority: Minor
>      Fix For: Future

>
> From Struts HTML taglib documentation about the errorStyleClass attribute:
> <snip>
> CSS stylesheet class to be applied to this HTML element if an error exists 
> for it (renders a "class" attribute).
> N.B. If present, this overrides the styleClass attribute in the event of an 
> error.
> </snip>
> Translated into WebWork's vocabulary: replace the style class of the element 
> if there's a fieldError associated with its name.
> Such a feature makes it very easy to highlight the fields having an error 
> using plain CSS and without any presentation logic involved.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to