[ https://issues.apache.org/jira/browse/TOBAGO-1550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15890255#comment-15890255 ]
Udo Schnurpfeil commented on TOBAGO-1550: ----------------------------------------- It might be useful to have this also for <tc:out>, because it occurs also in forms and may have attached FacesMessages, e.g. as Info-Severity. > 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)