Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 3.0.RC2
-
Fix Version/s: 3.0
-
Component/s: ACE-Components
-
Labels:None
-
Environment:HideICEfaces3 Trunk Revision# 27119
Server: Tomcat6
Browsers: Firefox/Chrome/IE
Test application is located at: http://server.ice:8888/svn/repo/qa/trunk/Regression-Icefaces2/Sparkle/Nightly/progressBarShowICEfaces3 Trunk Revision# 27119 Server: Tomcat6 Browsers: Firefox/Chrome/IE Test application is located at: http://server.ice:8888/svn/repo/qa/trunk/Regression-Icefaces2/Sparkle/Nightly/progressBar
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.
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
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
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-7669removed on*Update attributes; made ace:progressBar fire both the attribute listeners (if any) and the ace:ajax listeners in the same requestModified : /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-7669updated demos to use ace:ajax instead of on*Update attributesModified : /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-7669modified 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 progressModified : /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.