ICEfaces
  1. ICEfaces
  2. ICE-7646

ace:progressBar: Listeners don't function when combined with ace:ajax client events

    Details

      Description

      ACE:ProgressBar has three listeners (changeListener, cancelListener, completeListener). I have combined these three listeners with their similar ace:ajax event as follows:
      1. changeListener + ace:ajax event 'change'
      2. cancelListener + ace:ajax event 'cancel'
      3. completeListener + ace:ajax event 'complete'

      Only the ajaxListener is being called for any of the above combinations. However, when testing the progressBar listeners individually they all are called successfully.

      To reproduce:
      1. Build / deploy test application.
      2. Navigate to 'ProgressBar Ajax ' test page.
      3. Use each of the following tests for each scenario:
      "complete" Event Test w/ CompleteListener attribute
      "cancel" Event Test w/ CancelListener attribute
      "change" Event Test w/ ChangeListener attribute
      There are some print statements for debugging in both the ajax listener and the progressBar listeners.

        Activity

        Hide
        Cruz Miraback added a comment -

        This issue has been confirmed FIXED on ICEfaces3 Trunk Revision# 27436. I believe it was fixed when the changes were made for ICE-7669. These being:

        Revision: 27239
        Author: art.zambrano
        Date: Wednesday, January 18, 2012 1:14:40 PM
        Message:
        ICE-7669 removed on*Update attributes; made ace:progressBar fire both the attribute listeners (if any) and the ace:ajax listeners in the same request


        Modified : /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/dnd/dragdrop.js
        Modified : /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/progressbar/progressbar.js
        Modified : /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/resizable/resizable.js
        Modified : /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/dnd/DroppableMeta.java
        Modified : /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/dnd/DroppableRenderer.java
        Modified : /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/progressbar/ProgressBarMeta.java
        Modified : /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/progressbar/ProgressBarRenderer.java
        Modified : /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/resizable/ResizableMeta.java
        Modified : /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/resizable/ResizableRenderer.java

        Revision: 27245
        Author: art.zambrano
        Date: Wednesday, January 18, 2012 2:11:20 PM
        Message:
        ICE-7669 updated demos to use ace:ajax instead of on*Update attributes


        Modified : /icefaces3/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/dragDrop/dataTableIntegration.xhtml
        Modified : /icefaces3/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/progressbar/progressBarPolling.xhtml
        Modified : /icefaces3/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/resizable/resizeListener.xhtml

        Revision: 27320
        Author: art.zambrano
        Date: Monday, January 23, 2012 1:06:08 PM
        Message:
        ICE-7669 modified default render and execute ajax values for ace:progressBar to '@this' in order to match those of the listener attributes; set value to zero in client when cancelling progress


        Modified : /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/progressbar/progressbar.js
        Modified : /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/progressbar/ProgressBarMeta.java

        Marking this as resolved.

        Show
        Cruz Miraback added a comment - This issue has been confirmed FIXED on ICEfaces3 Trunk Revision# 27436. I believe it was fixed when the changes were made for ICE-7669 . These being: Revision: 27239 Author: art.zambrano Date: Wednesday, January 18, 2012 1:14:40 PM Message: ICE-7669 removed on*Update attributes; made ace:progressBar fire both the attribute listeners (if any) and the ace:ajax listeners in the same request Modified : /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/dnd/dragdrop.js Modified : /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/progressbar/progressbar.js Modified : /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/resizable/resizable.js Modified : /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/dnd/DroppableMeta.java Modified : /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/dnd/DroppableRenderer.java Modified : /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/progressbar/ProgressBarMeta.java Modified : /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/progressbar/ProgressBarRenderer.java Modified : /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/resizable/ResizableMeta.java Modified : /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/resizable/ResizableRenderer.java Revision: 27245 Author: art.zambrano Date: Wednesday, January 18, 2012 2:11:20 PM Message: ICE-7669 updated demos to use ace:ajax instead of on*Update attributes Modified : /icefaces3/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/dragDrop/dataTableIntegration.xhtml Modified : /icefaces3/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/progressbar/progressBarPolling.xhtml Modified : /icefaces3/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/ace/resizable/resizeListener.xhtml Revision: 27320 Author: art.zambrano Date: Monday, January 23, 2012 1:06:08 PM Message: ICE-7669 modified default render and execute ajax values for ace:progressBar to '@this' in order to match those of the listener attributes; set value to zero in client when cancelling progress Modified : /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/progressbar/progressbar.js Modified : /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/progressbar/ProgressBarMeta.java Marking this as resolved.

          People

          • Assignee:
            yip.ng
            Reporter:
            Cruz Miraback
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: