ICEfaces
  1. ICEfaces
  2. ICE-4772

selective attribute use for performance optimization

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.1
    • Fix Version/s: 1.8.2-RC1, 1.8.2
    • 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

        Ted Goddard created issue -
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #19122 Mon Jul 27 11:45:22 MDT 2009 ted.goddard ignoreUserRoleAttributes implementation (ICE-4772)
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/ext/taglib/Util.java
        Ted Goddard made changes -
        Field Original Value New Value
        Salesforce Case []
        Component/s Components [ 10012 ]
        Fix Version/s 1.8.2 [ 10190 ]
        Affects Version/s 1.8.1 [ 10170 ]
        Hide
        Ted Goddard added a comment -

        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).

        Show
        Ted Goddard added a comment - 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).
        Ken Fyten made changes -
        Salesforce Case []
        Affects [Documentation (User Guide, Ref. Guide, etc.), Compatibility/Configuration]
        Assignee Ken Fyten [ ken.fyten ]
        Ken Fyten made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Fix Version/s 1.8.2-RC1 [ 10210 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #19991 Tue Dec 15 10:05:23 MST 2009 judy.guglielmin ICE-4481 for ICE-4772 from 1.8.2 trunk
        Files Changed
        Commit graph MODIFY /icefaces/scratchpads/glimmer/compat/components/src/main/java/com/icesoft/faces/component/ext/taglib/Util.java
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Ken Fyten
            Reporter:
            Ted Goddard
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: