myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias Wronka (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Created] (TOBAGO-1550) Add f:message to form-elements automatically
Date Fri, 01 Apr 2016 13:33:25 GMT
Matthias Wronka created TOBAGO-1550:
---------------------------------------

             Summary: 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
            Reporter: Matthias Wronka


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 

<tc:in label="fatal" value="fatal" id="fatal" validator="#{facesMessagesBean.validateFatal}"
/>

would become

<tc:flexLayout rows="auto;auto">
    <tc:messages for="page:fatal" />
    <tc:in label="fatal" value="fatal" id="fatal" validator="#{facesMessagesBean.validateFatal}"
/>
</tc:flexLayout>



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message