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 9E3FD71E1 for ; Mon, 29 Aug 2011 19:04:06 +0000 (UTC) Received: (qmail 85028 invoked by uid 500); 29 Aug 2011 19:04:05 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 84629 invoked by uid 500); 29 Aug 2011 19:04:04 -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 84595 invoked by uid 99); 29 Aug 2011 19:04:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Aug 2011 19:04:04 +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; Mon, 29 Aug 2011 19:04:01 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id E09E2D5246 for ; Mon, 29 Aug 2011 19:03:39 +0000 (UTC) Date: Mon, 29 Aug 2011 19:03:39 +0000 (UTC) From: "Leonardo Uribe (JIRA)" To: dev@myfaces.apache.org Message-ID: <21729514.4372.1314644619916.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1410363020.4295.1314643717999.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (MYFACES-3295) Replace RendererUtils.renderChild() by UIComponent.encodeAll() 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-3295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Leonardo Uribe resolved MYFACES-3295. ------------------------------------- Resolution: Fixed Fix Version/s: 2.1.3 2.0.9 > Replace RendererUtils.renderChild() by UIComponent.encodeAll() > -------------------------------------------------------------- > > Key: MYFACES-3295 > URL: https://issues.apache.org/jira/browse/MYFACES-3295 > Project: MyFaces Core > Issue Type: Improvement > Components: JSR-314 > Reporter: Leonardo Uribe > Assignee: Leonardo Uribe > Fix For: 2.0.9, 2.1.3 > > > Checking other issues, if was notice that RendererUtils.renderChild() is almost equal to UIComponent.encodeAll(). > Historically, RendererUtils.renderChild() is older than UIComponent.encodeAll(), but the later one is better because gives the chance to the component to override it. > It is known any override goes on encodeBegin(), encodeChildren() or encodeEnd(), but to honor JSF 2.0 spec, we should fix RendererUtils.renderChildren(), and use encodeAll() instead RendererUtils.renderChild(). -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira