adfemg
  1. adfemg
  2. ADFEMG-118

af:poll with interval set to 5000 and timeout set to 5001 doesn't stop polling after on roundtrip

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Labels:
      None
    • Environment:

      JDev 11.1.1.6.0, HR DB schema

      Description

      A remake of Frank's (Frank Nimphius) article How to auto-dismiss af:popup dialogs and the sample 105, a user on OTN JDev & ADF forum tried to get this running on JDeveloper 11.1.1.6.0. Franks sample was built using JDeveloper 11.1.2.3.0 and can't be run without changes in JDeveloper 11.1.1.6.0.
      As it turned out there is a problem with the af:poll component and the timeout setting. This timeout setting should cancel the poll component after the given period of time (which should work in 11.1.2.3). This was one key feature in Frank's original article. Using 11.1.1.6.0 it turned out, that the af:poll remains active even after the timeout period should have canceled any further events to the poll listener.
      The sample application for this can be loaed from http://java.net/projects/smuenchadf/sources/samples/content/BlogSelfClosingPopup.zip
      A full description of the problem can be found at http://tompeez.wordpress.com/2013/03/24/jdeveloper-11-1-1-6-0-self-closing-popup/
      A workaround for this is implemented in sample http://java.net/projects/smuenchadf/sources/samples/content/BlogSelfClosingPopup_v2.zip

        Activity

        Timo_Hahn created issue -
        chriscmuir made changes -
        Field Original Value New Value
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Timo_Hahn
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: