Return-Path: X-Original-To: apmail-myfaces-dev-archive@www.apache.org Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 44A84999A for ; Thu, 27 Oct 2011 18:20:55 +0000 (UTC) Received: (qmail 84820 invoked by uid 500); 27 Oct 2011 18:20:55 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 84766 invoked by uid 500); 27 Oct 2011 18:20:54 -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 84759 invoked by uid 99); 27 Oct 2011 18:20:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Oct 2011 18:20:54 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Oct 2011 18:20:52 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 96078323DAF for ; Thu, 27 Oct 2011 18:18:32 +0000 (UTC) Date: Thu, 27 Oct 2011 18:18:32 +0000 (UTC) From: "Leonardo Uribe (Resolved) (JIRA)" To: dev@myfaces.apache.org Message-ID: <1054189197.25755.1319739512615.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <6638057.25178.1319731832943.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (MYFACES-3378) UIComponent.setParent does not propagate setInView() call when processingEvents is false MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/MYFACES-3378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Leonardo Uribe resolved MYFACES-3378. ------------------------------------- Resolution: Fixed Fix Version/s: 2.1.4 2.0.10 > UIComponent.setParent does not propagate setInView() call when processingEvents is false > ---------------------------------------------------------------------------------------- > > Key: MYFACES-3378 > URL: https://issues.apache.org/jira/browse/MYFACES-3378 > Project: MyFaces Core > Issue Type: Bug > Components: JSR-314 > Reporter: Leonardo Uribe > Assignee: Leonardo Uribe > Priority: Minor > Fix For: 2.0.10, 2.1.4 > > > When PSS is disabled, the algorithm to restore view state disable event processing, but that cause setInView() is not called. Later, when a dynamic component is added using c:if, since setInView is false, PostAddToViewEvent is not called. With PSS enabled everything works well. > The solution is when processing events is disabled, call another method that does not propagate the event but call setInView. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira