myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henning Noeth (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Commented] (TOBAGO-1550) Add f:message to form-elements automatically
Date Thu, 02 Mar 2017 16:24:45 GMT

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

Henning Noeth commented on TOBAGO-1550:
---------------------------------------

The solution is another one than suggested.
Now, a button is rendered on the right side of a component. By pressing the button, a small
popup with the message appear.

> 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