ICEfaces
  1. ICEfaces
  2. ICE-7044

ace:tabSet use DOM difference don't compare don't update element sub-tree (cacheStatically attribute)

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.2
    • Fix Version/s: 2.1-Beta, 3.0
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      ICEfaces 2
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial

      Description

      Components may wish to statically cache content in the browser. Currently, to accomplish this, components need to structure the content so that it will DOM difference to nothing, and so not be updated. There are two problems with this: firstly that this would be dynamic caching, in that the contents might change so a static representation is not enforced. Secondly, assuming that nothing has changed, we have maximised redundant processing of both rendering and DOM differencing. A more efficient way to do this is to render that content once, the first time, and then subsequently not render that content at all, and tell the DOM differencing to not operate on the sub-tree of content, and to treat it as not changed. The component and application would have to ensure that no ancestor element changed, or else everything would then still be updated, but improperly, as it was incompletely rendered.

        Issue Links

          Activity

          Mark Collette created issue -
          Mark Collette made changes -
          Field Original Value New Value
          Link This issue blocks ICE-7034 [ ICE-7034 ]
          Hide
          Ted Goddard added a comment -

          Very similar to ICE-5329 and ICE-6601.

          Show
          Ted Goddard added a comment - Very similar to ICE-5329 and ICE-6601.
          Hide
          Mark Collette added a comment -

          Yes it's almost the opposite of ICE-6601.

          Show
          Mark Collette added a comment - Yes it's almost the opposite of ICE-6601.
          Hide
          Ted Goddard added a comment -

          Check in and details under ICE-5329.

          Show
          Ted Goddard added a comment - Check in and details under ICE-5329 .
          Mark Collette made changes -
          Summary DOM difference don't compare don't update element sub-tree TabSet use DOM difference don't compare don't update element sub-tree
          Salesforce Case []
          Component/s ACE-Components [ 10050 ]
          Component/s Framework [ 10013 ]
          Fix Version/s 2.1 [ 10241 ]
          Assignee Mark Collette [ mark.collette ]
          Mark Collette made changes -
          Link This issue depends on ICE-5329 [ ICE-5329 ]
          Hide
          Mark Collette added a comment -

          Altered cacheStatically=true behaviour such that the currently active tab will be dynamically cached and not static, so that it will function as the user expects when they interact with the ui in the active tab.

          Subversion 25311

          Show
          Mark Collette added a comment - Altered cacheStatically=true behaviour such that the currently active tab will be dynamically cached and not static, so that it will function as the user expects when they interact with the ui in the active tab. Subversion 25311
          Ken Fyten made changes -
          Summary TabSet use DOM difference don't compare don't update element sub-tree ace:tabSet use DOM difference don't compare don't update element sub-tree (cacheStatically attribute)
          Salesforce Case []
          Affects [Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial]
          Ken Fyten made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Ken Fyten made changes -
          Fix Version/s 2.1-Beta [ 10291 ]
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #26469 Fri Nov 18 13:24:15 MST 2011 ken.fyten ICE-7138 ace:tabSet additional cacheStatically policies
          ICE-7044 ace:tabSet use DOM difference don't compare don't update element sub-tree (new cache attribute)
          ICE-6527 Dynamically adding/removing ace:tabPane Results in ace:tabset Retrieving Entire Tabset Content
          ICE-6738 Add client-side cache support for ace:tabPane within a 'clientSide=false'
          ICE-7057 Implement Themeroller support for ace:tabSet
          ICE-7176 ace:tabSet now does not depend on yui3 or 2in3, but instead YUI 2.8.
          ICE-6970 Adopted Apache 2.0 license source-code headers for ACE source-code.
          Files Changed
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/tabset/TabPaneMeta.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/tabset/TabSetProxyMeta.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/tabset/tabset.js
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/tabset/TabPane.java
          Commit graph DEL /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/tab
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/tabset/tabset.css
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/tabset/TabSetRenderer.java
          Commit graph ADD /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/tabset/TabPaneCache.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/tabset/TabSetMeta.java
          Commit graph DEL /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/tabset/skins
          Commit graph ADD /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/tabset
          Commit graph ADD /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/tabset
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/tabset/Tabs.java
          Commit graph DEL /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/tab
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/tabset/TabSetProxy.java
          Commit graph ADD /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/tabset/TabPaneUtil.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/tabset/TabSet.java
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Mark Collette
              Reporter:
              Mark Collette
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: