[jira] [Resolved] (TOBAGO-1550) Add f:message to form-elements automatically

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[jira] [Resolved] (TOBAGO-1550) Add f:message to form-elements automatically

My Faces - Dev mailing list

     [ https://issues.apache.org/jira/browse/TOBAGO-1550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henning Noeth resolved TOBAGO-1550.
-----------------------------------
    Resolution: Fixed

> Add f:message to form-elements automatically
> --------------------------------------------
>
>                 Key: TOBAGO-1550
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-1550
>             Project: MyFaces Tobago
>          Issue Type: New Feature
>          Components: Core
>    Affects Versions: 3.0.0-alpha-6
>            Reporter: Matthias Wronka
>            Assignee: Henning Noeth
>             Fix For: 3.1.0
>
>
> Since faces-messages are added for specific components I would prefer to render the tc:message in context of that component by default.
> So that for example
> {code}
> <tc:in label="fatal" value="fatal" id="fatal" validator="#{facesMessagesBean.validateFatal}" />
> {code}
> would become
> {code}
> <tc:flexLayout rows="auto;auto">
>     <tc:messages for="page:fatal" />
>     <tc:in label="fatal" value="fatal" id="fatal" validator="#{facesMessagesBean.validateFatal}" />
> </tc:flexLayout>
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
Loading...