Uploaded image for project: 'MyFaces Trinidad'
  1. MyFaces Trinidad
  2. TRINIDAD-2376

Provide a means allow partial lazy loading of children components

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.0-core
    • 2.1.0-core
    • Components
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              arobinson74 Andrew Robinson
              arobinson74 Andrew Robinson
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: