Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: EE-3.3.0.GA_P03, 4.1
-
Fix Version/s: 4.2.BETA, 4.2, EE-3.3.0.GA_P05
-
Component/s: ACE-Components, ICECORE-Components
-
Labels:None
-
Environment:All
-
Support Case References:Support Case #13589 - https://icesoft.my.salesforce.com/5007000001S8Loe
-
Workaround Exists:Yes
-
Workaround Description:HideWorkaround is to use the "ice.onUserInactivity(interval, idleCallback, activeCallback)" JS callback instead of the <icecore:idleMonitor> component. Using the JS callback allows the application to display an ace:dialog correctly via client-side JS when the idle event fires.ShowWorkaround is to use the "ice.onUserInactivity(interval, idleCallback, activeCallback)" JS callback instead of the <icecore:idleMonitor> component. Using the JS callback allows the application to display an ace:dialog correctly via client-side JS when the idle event fires.
Description
Sample code:
<icecore:idleMonitor interval="50" userActiveEvents="click">
<ace:dialog visible="true" modal="true"
closable="false">
<h5 id="idleMonitor" style="color: red;">Session Will Expire in 10 Seconds!</h5>
<h:commandButton value="OK"/>
</ace:dialog>
</icecore:idleMonitor>
-
Hide
- Case13589Example.war
- 8.83 MB
- Arran Mccullough
-
- META-INF/MANIFEST.MF 0.1 kB
- META-INF/context.xml 0.1 kB
- WEB-INF/classes/com/.../support/Item.class 0.3 kB
- WEB-INF/classes/.../support/TestBean.class 1.0 kB
- WEB-INF/lib/icefaces-ace.jar 5.64 MB
- WEB-INF/lib/icefaces.jar 642 kB
- WEB-INF/lib/javax.faces.jar 2.55 MB
- WEB-INF/web.xml 2 kB
- index.xhtml 0.5 kB
- welcomeICEfaces.xhtml 1 kB
-
Hide
- Case13589Example.zip
- 21 kB
- Arran Mccullough
-
- Case13589Example/build.xml 3 kB
- Case13589Example/.../ant-deploy.xml 2 kB
- Case13589Example/.../build-impl.xml 80 kB
- Case13589Example/.../genfiles.properties 0.5 kB
- Case13589Example/.../private.properties 0.6 kB
- Case13589Example/nbproject/.../private.xml 0.3 kB
- Case13589Example/.../project.properties 4 kB
- Case13589Example/nbproject/project.xml 1 kB
- Case13589Example/src/conf/MANIFEST.MF 0.0 kB
- Case13589Example/src/.../support/Item.java 0.1 kB
- Case13589Example/src/.../TestBean.java 0.6 kB
- Case13589Example/web/index.xhtml 0.5 kB
- Case13589Example/web/.../context.xml 0.1 kB
- Case13589Example/web/WEB-INF/web.xml 2 kB
- Case13589Example/.../welcomeICEfaces.xhtml 1 kB
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Will consider as an improvement for icecore:idleMonitor, but for now the recommendation is to use the workaround approach.
Render dialog overlay as sibling of the dialog component root element. Then whenever the dialog is hidden its overlay will be hidden as well.
Verified ICEfaces4 trunk r.49101 using attached test case, on IE8, IE11, MS Edge, FF41/47, Chrome52; ran icecore:idleMonitor regressions on FF47.
Test case has been added to idleMonitor QA test app:
http://dev.icesoft.com/svn/repo/qa/trunk/Regression-Icefaces4/Sparkle/Nightly/idleMonitor
This issue is still reproducible with EE-3.3.0-maintenance branch r.49101, so perhaps the fix must be ported to the maintenance branch?
It can be ported back, yes. It 's just that the issue wasn't targeted for 3.3.*.
Ported back fix to maintenance branch.
Verified EE-3.3.0-maintenance branch r.49104 on IE11, IE8, MS Edge, FF47, Chrome52.
Attached sample source code.