[ 
http://www.stripesframework.org/jira/browse/STS-21?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ben Gunter closed STS-21.
-------------------------


> Create a TagErrorDecorator (or something like that)
> ---------------------------------------------------
>
>                 Key: STS-21
>                 URL: http://www.stripesframework.org/jira/browse/STS-21
>             Project: Stripes
>          Issue Type: New Feature
>          Components: Tag Library, Validation
>            Reporter: Tim Fennell
>            Assignee: Greg Hinkle
>             Fix For: Release 1.0
>
>
> The idea is that the TagErrorDecorator would get access to tags whose values 
> have validation errors, in order to allow their appearance to be modified 
> prior to re-displaying to the user.  It would probably get invoked somewhere 
> in doStartTag().  Should be an interface with a default implementation.
> Considerations for the dedfault impl:
> 1) Should do something simple like switch the CSS class of the tag from 
> whatever it is to "{tagType}Error"
>     - Need to be aware that text/textbox/radio/checkbox are all input tags to 
> CSS, but might want different treatment
> All the form field tags, and label, should be aware of the TagErrorDecorator. 
>  Off the bat we'll probably just have a single global configured decorator, 
> but we might consider the possibility of overriding it on a per-form basis.  
> As a result, we might want to access the decorator through the form tag, 
> which knows how to find it's ActionBean.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to