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

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

          People

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

            Dates

            • Created:
              Updated:
              Resolved: