Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.1.0-core
-
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
- depends upon
-
TRINIDAD-1892 Sub-class support for for JSP tag generation
- Closed