Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 02656200C88 for ; Fri, 28 Apr 2017 02:41:08 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 01042160BA7; Fri, 28 Apr 2017 00:41:08 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 470E4160BB2 for ; Fri, 28 Apr 2017 02:41:07 +0200 (CEST) Received: (qmail 95535 invoked by uid 500); 28 Apr 2017 00:41:06 -0000 Mailing-List: contact dev-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list dev@myfaces.apache.org Received: (qmail 95446 invoked by uid 99); 28 Apr 2017 00:41:06 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Apr 2017 00:41:06 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id AD07D1818E9 for ; Fri, 28 Apr 2017 00:41:05 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.918 X-Spam-Level: X-Spam-Status: No, score=0.918 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_FAIL=0.919] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id wCi-VMOt1ubT for ; Fri, 28 Apr 2017 00:41:05 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id CF4F75F3BF for ; Fri, 28 Apr 2017 00:41:04 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 5AE84E073A for ; Fri, 28 Apr 2017 00:41:04 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 0E63B21DD5 for ; Fri, 28 Apr 2017 00:41:04 +0000 (UTC) Date: Fri, 28 Apr 2017 00:41:04 +0000 (UTC) From: "Leonardo Uribe (JIRA)" To: dev@myfaces.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MYFACES-4109) Implement f:validateWholeBean MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 28 Apr 2017 00:41:08 -0000 [ 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)