myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leonardo Uribe (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Commented] (MYFACES-4109) Implement f:validateWholeBean
Date Fri, 28 Apr 2017 00:41:04 GMT

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

Leonardo Uribe commented on MYFACES-4109:
-----------------------------------------

After study how f:validateBean works, it looks like the best solution is use the same strategy
to get the value reference in each component and then only call setValue(...) on the component
which has the base specified by f:validateWholeBean. The custom ELResolver just detect when
the base is returned and replace it with the copy. I tested it and it works well, so I have
finally commited the solution. It should work because the solution reuses the logic inside
f:validateBean, and that logic has been already tested.

> Implement f:validateWholeBean
> -----------------------------
>
>                 Key: MYFACES-4109
>                 URL: https://issues.apache.org/jira/browse/MYFACES-4109
>             Project: MyFaces Core
>          Issue Type: New Feature
>          Components: JSR-372
>            Reporter: Leonardo Uribe
>            Assignee: Leonardo Uribe
>             Fix For: 2.3.0
>
>
> Implement f:validateWholeBean as described in the spec javadoc. 



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

Mime
View raw message