ICEfaces
  1. ICEfaces
  2. ICE-10436

icecore:idleMonitor - add ability to configure user events that are monitored for idleness

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.1, EE-3.3.0.GA_P04
    • Component/s: ICECORE-Components
    • Labels:
      None
    • Environment:
      jsf 2 icecore

      Description

      add the ability to ignore the mouseover event (and possibly other mouse events) which defines browser being idle

        Activity

        Judy Guglielmin created issue -
        Ken Fyten made changes -
        Field Original Value New Value
        Summary add ability to ignore certain js events to icecore:idlemonitor icecore:idle monitor - add ability to configure user events that are monitored for idleness
        Ken Fyten made changes -
        Summary icecore:idle monitor - add ability to configure user events that are monitored for idleness icecore:idleMonitor - add ability to configure user events that are monitored for idleness
        Ken Fyten made changes -
        Fix Version/s 4.1 [ 11375 ]
        Ken Fyten made changes -
        Assignee Mircea Toma [ mircea.toma ]
        Assignee Priority P2 [ 10011 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #45997 Tue Sep 22 05:54:37 MDT 2015 mircea.toma ICE-10436 Introduce optional parameter in ice.onUserInactivity function to define the list of events used for detecting user activity. Modified IdleMonitor component to make use of this new parameter. The component acquires the list from the optional attribute 'userActiveEvents'.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/core/src/main/javascript/user-inactivity.js
        Commit graph MODIFY /icefaces4/trunk/icefaces/core/src/main/java/org/icefaces/impl/component/IdleMonitor.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/core/src/main/resources/META-INF/core.taglib.xml
        Hide
        Mircea Toma added a comment - - edited

        Introduce optional parameter in ice.onUserInactivity function to define the list of events used for detecting user activity. Modified IdleMonitor component to make use of this new parameter. The component acquires the list from the optional attribute 'userActiveEvents'. For example instead of the default "keydown mouseover" one could use "click keypress".

        Show
        Mircea Toma added a comment - - edited Introduce optional parameter in ice.onUserInactivity function to define the list of events used for detecting user activity. Modified IdleMonitor component to make use of this new parameter. The component acquires the list from the optional attribute 'userActiveEvents'. For example instead of the default "keydown mouseover" one could use "click keypress".
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Mircea Toma added a comment - - edited
        Show
        Mircea Toma added a comment - - edited The wiki docs ( http://www.icesoft.org/wiki/display/ICE/JavaScript+Client+API and http://www.icesoft.org/wiki/display/ICE/idleMonitor ) and TLD were also updated.
        Ken Fyten made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Hide
        Mircea Toma added a comment - - edited

        The ice.onUserInactivity function used by icecore:idleMonitor relies on event bubbling to detect the events that occurs to the elements in the document. But there events like 'blur' and 'focus' that do not bubble up (see more here: http://www.quirksmode.org/dom/events/blurfocus.html ). These kind of events cannot be used in the list of 'userActiveEvents'.

        Show
        Mircea Toma added a comment - - edited The ice.onUserInactivity function used by icecore:idleMonitor relies on event bubbling to detect the events that occurs to the elements in the document. But there events like 'blur' and 'focus' that do not bubble up (see more here: http://www.quirksmode.org/dom/events/blurfocus.html ). These kind of events cannot be used in the list of 'userActiveEvents'.
        Ken Fyten made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Affects Documentation (User Guide, Ref. Guide, etc.),Sample App./Tutorial [ 10003, 10001 ]
        Resolution Fixed [ 1 ]
        Hide
        Liana Munroe added a comment -

        Removed unneeded QA test case.

        Show
        Liana Munroe added a comment - Removed unneeded QA test case.
        Hide
        Ken Fyten added a comment -

        Re-opened to backport this improvement to the icefaces 3.3 maintenance branch.

        Show
        Ken Fyten added a comment - Re-opened to backport this improvement to the icefaces 3.3 maintenance branch.
        Ken Fyten made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Ken Fyten made changes -
        Fix Version/s EE-3.3.0.GA_P04 [ 12270 ]
        Ken Fyten made changes -
        Issue Type New Feature [ 2 ] Improvement [ 4 ]
        Arran Mccullough made changes -
        Hide
        Mircea Toma added a comment -

        Ported back fix.

        Show
        Mircea Toma added a comment - Ported back fix.
        Mircea Toma made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Liana Munroe added a comment -

        Verified ICEfaces EE-3.3.0 maintenance branch r46192. Tomcat, FF 34, Chrome 46, IE 11, 10, 9, 8, 7.
        Relevant test apps were added to:
        http://dev.icesoft.com/svn/repo/qa/trunk/Regression-Icefaces2/Sparkle/Manual/idleMonitor

        Show
        Liana Munroe added a comment - Verified ICEfaces EE-3.3.0 maintenance branch r46192. Tomcat, FF 34, Chrome 46, IE 11, 10, 9, 8, 7. Relevant test apps were added to: http://dev.icesoft.com/svn/repo/qa/trunk/Regression-Icefaces2/Sparkle/Manual/idleMonitor
        Hide
        Judy Guglielmin added a comment - - edited

        rev 46558 for IF 4.1 tag example modified in showcase
        rev 46559 for IF4.0 trunk

        Show
        Judy Guglielmin added a comment - - edited rev 46558 for IF 4.1 tag example modified in showcase rev 46559 for IF4.0 trunk
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #46558 Thu Dec 17 09:57:28 MST 2015 judy.guglielmin ICE-10436 modified showcase example to show ability to define events listened for
        Files Changed
        Commit graph MODIFY /icefaces4/tags/icefaces-4.1.0/icefaces/samples/showcase/showcase/src/main/resources/org/icefaces/samples/showcase/view/resources/messages.properties
        Commit graph MODIFY /icefaces4/tags/icefaces-4.1.0/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/core/idle-monitor.xhtml
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #46559 Thu Dec 17 10:11:38 MST 2015 judy.guglielmin ICE-10436 modified example in showcase
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/resources/org/icefaces/samples/showcase/view/resources/messages.properties
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/core/idle-monitor.xhtml
        Hide
        Liana Munroe added a comment - - edited

        Verified ICEfaces 4 trunk r46561, 4.1 tag r46566. Tomcat 7, IE 11, 10, 9, 8, FF 34, Chrome 46.

        Show
        Liana Munroe added a comment - - edited Verified ICEfaces 4 trunk r46561, 4.1 tag r46566. Tomcat 7, IE 11, 10, 9, 8, FF 34, Chrome 46.
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Judy Guglielmin
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: