Return-Path: Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: (qmail 17728 invoked from network); 1 Feb 2007 16:57:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Feb 2007 16:57:12 -0000 Received: (qmail 57790 invoked by uid 500); 1 Feb 2007 16:57:14 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 57740 invoked by uid 500); 1 Feb 2007 16:57:13 -0000 Mailing-List: contact users-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Discussion" Delivered-To: mailing list users@myfaces.apache.org Received: (qmail 57729 invoked by uid 99); 1 Feb 2007 16:57:13 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Feb 2007 08:57:13 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lists@nabble.com designates 72.21.53.35 as permitted sender) Received: from [72.21.53.35] (HELO talk.nabble.com) (72.21.53.35) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Feb 2007 08:57:04 -0800 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1HCfEp-0000Yu-EQ for users@myfaces.apache.org; Thu, 01 Feb 2007 08:56:43 -0800 Message-ID: <8751583.post@talk.nabble.com> Date: Thu, 1 Feb 2007 08:56:43 -0800 (PST) From: mjovanov To: users@myfaces.apache.org Subject: Issue with popupFrame and Validation MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: mihajlo.jovanovic@jpmchase.com X-Virus-Checked: Checked by ClamAV on apache.org Hi, we are using popupFrame on a page with a bunch of form fields. A user should be able to open a popup even if there are validation errors on the page. So, we have the immediate property set to "true" on the popup component (we are using jenia4faces popupFrame btw). Everything works fine, user is able to use the popup; however when the popup tries to refresh the parent page (using jeniaClosePopupFrameWithAction event) all of the values from the other form fields are lost. My understanding is that, because we are using immediate="true", we are effectively bypassing the validation phase and as a result model values are not updated. Does anyone have a workaround for this issue? Surely this is a pretty common scenario for using a popup in a form. I did notice that some of the other form fields which are also marked as immediate="true" actually do retain their values: so would a good solution be to set all of the other form fields to use immediate="true"? Is this possible even if a component does not have an Action Listener registered? -- View this message in context: http://www.nabble.com/Issue-with-popupFrame-and-Validation-tf3155970.html#a8751583 Sent from the MyFaces - Users mailing list archive at Nabble.com.