Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 4.0
-
Fix Version/s: EE-4.0.0.GA, 4.1
-
Component/s: Sample Apps
-
Labels:None
-
Environment:ICEfaces 4 trunk r43549. Tomcat 7, all browsers.
-
Assignee Priority:P1
-
Affects:Sample App./Tutorial
Description
The icecore:push demo has an "Update Page every second" push strategy. When using this strategy in the demo, then navigating away from the page to another demo, the push strategy does not stop running or reset to an empty value. This can be observed with Debug info log entries in the browser console.
Upon returning to the demo, the "Update Page every second" option is still selected and the demo is still running.
Upon returning to the demo, the "Update Page every second" option is still selected and the demo is still running.
Introduced select/deselect methods on ComponentExampleImpl that are invoked when navigating from one demo to another. Implemented methods in push demo to stop or resume the notifications when the demo is respectively unused or used.