Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major 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+

        Activity

        Ted Goddard created issue -
        Hide
        Ted Goddard added a comment -

        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.)

        Show
        Ted Goddard added a comment - 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.)
        Ted Goddard made changes -
        Field Original Value New Value
        Assignee Mircea Toma [ mircea.toma ]
        Ted Goddard made changes -
        Link This issue blocks ICE-6541 [ ICE-6541 ]
        Ted Goddard made changes -
        Salesforce Case []
        Fix Version/s 3.0.1 [ 10282 ]
        Fix Version/s 2.0.2 [ 10273 ]
        Ken Fyten made changes -
        Salesforce Case []
        Fix Version/s 3.1 [ 10312 ]
        Fix Version/s 2.0.2 [ 10273 ]
        Fix Version/s 3.0.1 [ 10282 ]
        Affects [Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial]
        Ken Fyten made changes -
        Salesforce Case []
        Assignee Priority P2
        Ken Fyten made changes -
        Salesforce Case []
        Assignee Priority P2 P1
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #28623 Tue Apr 03 14:03:36 MDT 2012 mircea.toma ICE-7939 Introduced icecore:refresh tag that setups polling requests initiated by the bridge.
        Files Changed
        Commit graph ADD /icefaces3/trunk/icefaces/core/src/main/java/org/icefaces/impl/facelets/tag/icefaces/core/RefreshHandler.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/core/src/main/javascript/application.js
        Commit graph MODIFY /icefaces3/trunk/icefaces/core/src/main/resources/META-INF/core.taglib.xml
        Commit graph MODIFY /icefaces3/trunk/icefaces/core/src/main/resources/META-INF/core.tld
        Hide
        Mircea Toma added a comment -

        Introduced icecore:refresh tag that setups polling requests initiated by the bridge. The corresponding tag handler will register a system event listener when the feature is enabled. The listener in turn will insert an output component that renders the script code required to initialize the polling requests.

        Show
        Mircea Toma added a comment - Introduced icecore:refresh tag that setups polling requests initiated by the bridge. The corresponding tag handler will register a system event listener when the feature is enabled. The listener in turn will insert an output component that renders the script code required to initialize the polling requests.
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #28643 Thu Apr 05 15:06:04 MDT 2012 mircea.toma ICE-7939 Check the existence of tag attributes before extracting values. Provide default values if missing.
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/core/src/main/java/org/icefaces/impl/facelets/tag/icefaces/core/RefreshHandler.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #28644 Thu Apr 05 15:06:42 MDT 2012 mircea.toma ICE-7939 Change default value.
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/core/src/main/java/org/icefaces/impl/facelets/tag/icefaces/core/RefreshHandler.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #28645 Thu Apr 05 15:12:00 MDT 2012 mircea.toma ICE-7939 Disable interval timer used for triggering the clock updates. Use icecore:refresh tag instead.
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/samples/core/auction/src/main/webapp/auction.xhtml
        Commit graph MODIFY /icefaces3/trunk/icefaces/samples/core/auction/src/main/java/org/icefaces/demo/auction/view/controllers/IntervalPushRenderer.java
        Hide
        Mircea Toma added a comment -

        Modified auction test application to use icecore:refresh. The @PostConstruct and @PreDestroy annotations are removed in the IntervalPushRenderer bean to avoid starting or stopping the timer.

        Show
        Mircea Toma added a comment - Modified auction test application to use icecore:refresh. The @PostConstruct and @PreDestroy annotations are removed in the IntervalPushRenderer bean to avoid starting or stopping the timer.
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #28661 Tue Apr 10 09:56:48 MDT 2012 arran.mccullough Back porting code changes from ICE-7939
        Files Changed
        Commit graph ADD /icefaces2/scratchpads/patches/ICE-7939
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #28662 Tue Apr 10 09:58:16 MDT 2012 arran.mccullough Back porting code changes from ICE-7939
        Files Changed
        Commit graph ADD /icefaces2/scratchpads/patches/ICE-7939/icefaces
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #28663 Tue Apr 10 10:19:25 MDT 2012 arran.mccullough ICE-7939 Introduced icecore:refresh tag that setups polling requests initiated by the bridge.
        Files Changed
        Commit graph ADD /icefaces2/scratchpads/patches/ICE-7939/icefaces/core/src/main/java/org/icefaces/impl/facelets/tag/icefaces/core/RefreshHandler.java
        Commit graph MODIFY /icefaces2/scratchpads/patches/ICE-7939/icefaces/core/src/main/resources/META-INF/core.tld
        Commit graph MODIFY /icefaces2/scratchpads/patches/ICE-7939/icefaces/core/src/main/resources/META-INF/core.taglib.xml
        Commit graph MODIFY /icefaces2/scratchpads/patches/ICE-7939/icefaces/core/src/main/javascript/application.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #28664 Tue Apr 10 10:28:26 MDT 2012 arran.mccullough Back porting code changes from ICE-7939
        Files Changed
        Commit graph ADD /icefaces3/scratchpads/ICE-7939
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #28665 Tue Apr 10 10:29:00 MDT 2012 arran.mccullough Back porting code changes from ICE-7939
        Files Changed
        Commit graph ADD /icefaces3/scratchpads/ICE-7939/icefaces
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #28667 Tue Apr 10 10:39:35 MDT 2012 arran.mccullough ICE-7939 Introduced icecore:refresh tag that setups polling requests initiated by the bridge.
        Files Changed
        Commit graph MODIFY /icefaces3/scratchpads/ICE-7939/icefaces/core/src/main/javascript/application.js
        Commit graph MODIFY /icefaces3/scratchpads/ICE-7939/icefaces/core/src/main/resources/META-INF/core.tld
        Commit graph ADD /icefaces3/scratchpads/ICE-7939/icefaces/core/src/main/java/org/icefaces/impl/facelets/tag/icefaces/core/RefreshHandler.java
        Commit graph MODIFY /icefaces3/scratchpads/ICE-7939/icefaces/core/src/main/resources/META-INF/core.taglib.xml
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #28684 Wed Apr 11 16:00:28 MDT 2012 mircea.toma ICE-7939 Read 'interval' value as seconds and 'duration' value as minutes.
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/core/src/main/java/org/icefaces/impl/facelets/tag/icefaces/core/RefreshHandler.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #28685 Wed Apr 11 16:08:24 MDT 2012 mircea.toma ICE-7939 Revise test for detecting infinite polling.
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/core/src/main/javascript/application.js
        Hide
        Ken Fyten added a comment -

        RE-OPENED: The core/auction sample application does not update it's clocks anymore. Recently tested with rvn # 28819.

        Show
        Ken Fyten added a comment - RE-OPENED: The core/auction sample application does not update it's clocks anymore. Recently tested with rvn # 28819.
        Ken Fyten made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Ken Fyten made changes -
        Salesforce Case []
        Assignee Priority P1 P2
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #28895 Mon Apr 30 18:10:22 MDT 2012 mircea.toma ICE-7939 Configure refresh tag using seconds (instead of milliseconds).
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/samples/core/auction/src/main/webapp/auction.xhtml
        Hide
        Mircea Toma added a comment -

        Configured 'auction' test app's refresh tag to use seconds (instead of milliseconds) as interval measuring units."

        Show
        Mircea Toma added a comment - Configured 'auction' test app's refresh tag to use seconds (instead of milliseconds) as interval measuring units."
        Mircea Toma made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Link This issue blocks ICE-8027 [ ICE-8027 ]
        Ken Fyten made changes -
        Fix Version/s 3.1.0.BETA1 [ 10335 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #29238 Wed May 30 05:15:26 MDT 2012 mircea.toma ICE-7939 Modify auction app to use the new icecore:refresh tag.
        Files Changed
        Commit graph MODIFY /icefaces2/scratchpads/patches/ICE-7939/icefaces/samples/core/auction/src/main/webapp/auction.xhtml
        Commit graph MODIFY /icefaces2/scratchpads/patches/ICE-7939/icefaces/samples/core/auction/src/main/java/org/icefaces/demo/auction/view/controllers/IntervalPushRenderer.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #29239 Wed May 30 05:18:18 MDT 2012 mircea.toma ICE-7939 Modify RefreshHandler to register the RefreshSetup system event listener only once (Mojarra earlier versions seem to call TagHandler.apply method on each render).
        Files Changed
        Commit graph MODIFY /icefaces2/scratchpads/patches/ICE-7939/icefaces/core/src/main/java/org/icefaces/impl/facelets/tag/icefaces/core/RefreshHandler.java
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Ted Goddard
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: