ICEfaces
  1. ICEfaces
  2. ICE-11107

icecore:refresh - Refresh causing ace:tabSet showEffect to fire

    Details

      Description

      When using an icecore:refresh tag on a page that has an ace:tabSet, which uses a showEffect, the showEffect is fired on each refresh interval.

      Sample code:
          <h:body>
              <icecore:refresh interval="1"/>
              <h:form id="iceForm">
                  <ace:tabSet id="testTabSet"
                              showEffect="clip">
                      <ace:tabPane label="Tab One">
                          <h:outputText value="Tab One Content"/>
                      </ace:tabPane>
                      <ace:tabPane label="Tab Two">
                          <h:outputText value="Tab Two Content"/>
                      </ace:tabPane>
                      <ace:tabPane label="Tab Three">
                          <h:outputText value="Tab Three Content"/>
                      </ace:tabPane>
                  </ace:tabSet>
              </h:form>
          </h:body>

      Each time the refresh happens, the clip effect is fired. This issue is not seen on the ICEfaces 3 code base. This might effect other components that render animations as well.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49172 Thu Sep 08 13:01:55 MDT 2016 art.zambrano ICE-11107 added a flag to inform the client side that the request was an active tab change request. Only in such case the showEffect animation will be run, thus avoiding running it at every interval when using icecore:refresh
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/tabset/TabSetRenderer.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/tabset/tabset.js

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: