Details
-
Type: New Feature
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.8.1
-
Component/s: ICE-Components
-
Labels:None
-
Environment:ICEfaces
-
Affects:Documentation (User Guide, Ref. Guide, etc.), Compatibility/Configuration
Description
Certain component attributes are used very frequently (such as renderedOnUserRole) and attribute retrieval can be expensive on JSF 1.1 implementations.
For instance,
<context-param>
<param-name>com.icesoft.faces.ignoreUserRoleAttributes</param-name>
<param-value>true</param-value>
</context-param>
could configure the component library to ignore the renderedOnUserRole and enabledOnUserRole, thereby saving approximately 5% of the rendering time.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
The fix checked in for ignoreUserRoleAttributes makes use of static configuration for the optimization. If multiple .war deployment with different configuration is required, the implementation can be modified for this (at a slight loss of benefit of the optimization due to the HashTable lookups that will be required).