Details
-
Type: New Feature
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 3.0
-
Fix Version/s: 3.1.0.BETA1, 3.1
-
Component/s: Framework
-
Labels:None
-
Environment:ICEfaces
-
Assignee Priority:P2
-
Affects:Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial
Description
A tag will be provided as follows:
<icecore:refresh interval="7" duration="10" disabled="false"/>
This would refresh the page every 7 seconds for 10 minutes.
If the page is refreshed, the duration timer is restarted.
If the duration is not specified, the page will be continually refreshed until the user leaves the page.
A duration of -1 is equivalent to an infinite duration.
A duration of 0 is equivalent to disabling the control
The request parameter "ice.submit.type" will be set equivalently to a push request.
No hourglass cursor displayed on the browser screen during refresh
This will be tested against GlassFish 3.0.1+, Tomcat 7+, Firefox 3.0+ and IE 7+
Ken will schedule this work in the next 3 weeks, but please take a look and let me know if anything doesn't look straightforward. It should be possible to just add a setTimeout around the existing ICEpush client. Note that having a refresh enabled should not activate the blocking connection, but should be compatible with it.
Once this is complete, auction should use this refresh tag instead of the server-side "clock". (auctionMonitor can be left as-is to allow for easy comparison.)