myfaces-dev mailing list archives

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


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

View raw message