Return-Path: Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: (qmail 29617 invoked from network); 23 Jul 2009 23:29:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Jul 2009 23:29:34 -0000 Received: (qmail 84673 invoked by uid 500); 23 Jul 2009 23:30:37 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 84624 invoked by uid 500); 23 Jul 2009 23:30:37 -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 84598 invoked by uid 99); 23 Jul 2009 23:30:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jul 2009 23:30:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jul 2009 23:30:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id DE8BA234C046 for ; Thu, 23 Jul 2009 16:30:14 -0700 (PDT) Message-ID: <1228791571.1248391814910.JavaMail.jira@brutus> Date: Thu, 23 Jul 2009 16:30:14 -0700 (PDT) From: "Michael Freedman (JIRA)" To: dev@myfaces.apache.org Subject: [jira] Created: (PORTLETBRIDGE-92) Refresh of faces view using client-side state saving fails (in Mojarra) with class cast expection of PortletUIViewRootNamingContainer 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 Refresh of faces view using client-side state saving fails (in Mojarra) with class cast expection of PortletUIViewRootNamingContainer ------------------------------------------------------------------------------------------------------------------------------------- Key: PORTLETBRIDGE-92 URL: https://issues.apache.org/jira/browse/PORTLETBRIDGE-92 Project: MyFaces Portlet Bridge Issue Type: Bug Components: Impl Affects Versions: 2.0.0-alpha, 1.0.0-beta Reporter: Michael Freedman Assignee: Michael Freedman When client side state saving is used, the Mojarra impl depends on a com.sun.faces.util attribute -- this attribute at first holds the tree structure -- but as its activated the tree structure is changed from holding tree nodes to the actual faces components (restored). If this attribute is retained across requests (i.e. in the bridge's scope) you get a classCastException if the page the portlet is on is refreshed. This is because it stays around and hence holds the restored components rather than the nodes. Anyway, simple fix is to add com.sun.faces.util.* to the bridge's excluded attributes list maintained in its faces-config.xml. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.