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 DA29C9D4B for ; Wed, 7 Mar 2012 15:21:24 +0000 (UTC) Received: (qmail 68623 invoked by uid 500); 7 Mar 2012 15:21:23 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 68004 invoked by uid 500); 7 Mar 2012 15:21:21 -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 67976 invoked by uid 99); 7 Mar 2012 15:21:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Mar 2012 15:21:21 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_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; Wed, 07 Mar 2012 15:21:20 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id F1406D344 for ; Wed, 7 Mar 2012 15:20:59 +0000 (UTC) Date: Wed, 7 Mar 2012 15:20:59 +0000 (UTC) From: "Stan Zapryanov (Created) (JIRA)" To: dev@myfaces.apache.org Message-ID: <645779169.34378.1331133659989.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (TOMAHAWK-1612) Children of h:form within t:panelGroup still get rendered even though their parent (h:form) has rendered=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 Children of h:form within t:panelGroup still get rendered even though their parent (h:form) has rendered=false -------------------------------------------------------------------------------------------------------------- Key: TOMAHAWK-1612 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1612 Project: MyFaces Tomahawk Issue Type: Bug Components: Html Tag Affects Versions: 1.1.11 Environment: Tomahawk20-1.1.11 and MyFaces 2.1.6 (Tomcat7, Java6) Reporter: Stan Zapryanov Children of h:form with rendered="false" do get rendered (but should not) IF h:form is placed within t:panelGroup If t:panelGroup in the example below is changed to h:panelGroup, then everything works correctly (h:form children don't get rendered). Example demonstrating the bug: Stuff inside form should not show but this line shows I did some debugging and it seems to me that the bug is coming from the following change made from Tomahawk20-1.1.10 to Tomahawk20-1.1.11 In class: org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils Method: public static void renderChild(FacesContext facesContext, UIComponent child) throws IOException The following lines were removed: 530 if (!child.isRendered()) 531 { 532 return; 533 } There might be other places where this change could be causing problems/bugs. -- 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