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 8DFCAF0CA for ; Tue, 9 Apr 2013 21:10:16 +0000 (UTC) Received: (qmail 81269 invoked by uid 500); 9 Apr 2013 21:10:16 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 81113 invoked by uid 500); 9 Apr 2013 21:10:16 -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 81102 invoked by uid 99); 9 Apr 2013 21:10:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Apr 2013 21:10:16 +0000 Date: Tue, 9 Apr 2013 21:10:15 +0000 (UTC) From: "Andrew Robinson (JIRA)" To: dev@myfaces.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (TRINIDAD-2376) Provide a means allow partial lazy loading of children components MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Andrew Robinson created TRINIDAD-2376: ----------------------------------------- Summary: Provide a means allow partial lazy loading of children components Key: TRINIDAD-2376 URL: https://issues.apache.org/jira/browse/TRINIDAD-2376 Project: MyFaces Trinidad Issue Type: Improvement Components: Components Affects Versions: 2.1.0-core Reporter: Andrew Robinson Assignee: Andrew Robinson With complex component trees and the Trinidad component set, there are frequent use cases where components are generated that are never rendered. This puts an unnecessary overhead on component state, JSP processing time, component tree processing, etc. In order to improve performance, it would be beneficial to allow tags to lazily load their children. For example, the UIXShowDetailHeader does not need to load its children (just its facets) if none of its stamps are disclosed. If a parent could dictate to a Trinidad child component tag if the component should be generated, it would be a good performance gain. In my use case mentioned above, the UIXShowDetailHeader would allow non-component tags like to be executed and tags that are building the facets (the components that are rendered even when it is collapsed) but skip the creation of the children components until the request that un-discloses the show detail header. This would be an optional setting, controlled by an attribute on the show detail header. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira