myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Robinson (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Commented] (TRINIDAD-2376) Provide a means allow partial lazy loading of children components
Date Mon, 10 Jun 2013 21:22:20 GMT

    [ https://issues.apache.org/jira/browse/TRINIDAD-2376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13679922#comment-13679922
] 

Andrew Robinson commented on TRINIDAD-2376:
-------------------------------------------

Committed revision 1,491,604.
                
> 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
>             Fix For: 2.1.0-core
>
>
> 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 <f:attribute/> 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

Mime
View raw message