Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 3.3
-
Fix Version/s: EE-3.3.0.GA, 4.0.BETA, 4.0
-
Component/s: ACE-Components
-
Labels:None
-
Environment:ACE
Description
The ace:submitMonitor needs to make use of the new APIs for de-registering from its event handlers, and fully clean itself up, when removed from the page, or when the javascript object is updated.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Made use of the cleanup methods, nulled out some references when done, and cleaned up some of the console logging.
Ran into an issue with the cleanup that because they're called within onElementUpdate, which happens in in the before update handling, that removing listeners from before update processing would be modifying the list while is was being iterated, and would cause an error. Had to move the cleanup ito a setTimeout to happen after the iteration.
icefaces3 trunk
Subversion 35690