myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Commented] (TOBAGO-1550) Add f:message to form-elements automatically
Date Fri, 21 Apr 2017 11:49:04 GMT

    [ https://issues.apache.org/jira/browse/TOBAGO-1550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15978564#comment-15978564
] 

Hudson commented on TOBAGO-1550:
--------------------------------

SUCCESS: Integrated in Jenkins build Tobago Trunk #864 (See [https://builds.apache.org/job/Tobago%20Trunk/864/])
TOBAGO-1550 Add f:message to form-elements automatically
* messages can now also appear on tc:out (hnoeth: [http://svn.apache.org/viewvc/?view=rev&rev=1792180])
* (edit) tobago-trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/renderkit/renderer/OutRenderer.java
* (add) tobago-trunk/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/MessageLayoutController.java
* (edit) tobago-trunk/tobago-example/tobago-example-demo/src/main/webapp/content/40-test/60000-manual/5000-messageLayout/messageLayout.xhtml


> 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)

Mime
View raw message