ICEfaces
  1. ICEfaces
  2. ICE-10976

icecore:idleMonitor - Modal background shown when using modal ace:dialog

    Details

    • Support Case References:
    • Workaround Exists:
      Yes
    • Workaround Description:
      Hide
      Workaround 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.
      Show
      Workaround 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

      An ace:dialog is used in an icecore:idleMonitor to be shown when the idle interval is reached. The issue is if modal=true on the ace:dialog, the modal background is rendered even without the idle interval being reached.

      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>

        Activity

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: