Return-Path: Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: (qmail 89904 invoked from network); 28 Sep 2010 22:33:57 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 28 Sep 2010 22:33:57 -0000 Received: (qmail 25891 invoked by uid 500); 28 Sep 2010 22:33:57 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 25813 invoked by uid 500); 28 Sep 2010 22:33:56 -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 25806 invoked by uid 99); 28 Sep 2010 22:33:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Sep 2010 22:33:56 +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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Sep 2010 22:33:54 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o8SMXW1U005701 for ; Tue, 28 Sep 2010 22:33:33 GMT Message-ID: <11685045.452181285713212976.JavaMail.jira@thor> Date: Tue, 28 Sep 2010 18:33:32 -0400 (EDT) From: "Andrew Robinson (JIRA)" To: dev@myfaces.apache.org Subject: [jira] Created: (TRINIDAD-1927) Trinidad 2 CoreRenderer.encodeChild does not call the JSF 2 encodeAll method on the child 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 Trinidad 2 CoreRenderer.encodeChild does not call the JSF 2 encodeAll method on the child ----------------------------------------------------------------------------------------- Key: TRINIDAD-1927 URL: https://issues.apache.org/jira/browse/TRINIDAD-1927 Project: MyFaces Trinidad Issue Type: Bug Affects Versions: 2.0.0.3-core Reporter: Andrew Robinson Assignee: Andrew Robinson Priority: Critical JSF2 introduced the encodeAll method on UIComponent. Trinidad's CoreRenderer is not utilizing this method. Instead it is using: protected void encodeChild( FacesContext context, UIComponent child ) throws IOException { assert(child.isRendered()); child.encodeBegin(context); if (child.getRendersChildren()) { child.encodeChildren(context); } else { if (child.getChildCount() > 0) { for(UIComponent subChild : (List)child.getChildren()) { RenderUtils.encodeRecursive(context, subChild); } } } child.encodeEnd(context); } It should be using the JSF 2 encodeAll method instead. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.