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

        Arran Mccullough created issue -
        Arran Mccullough made changes -
        Field Original Value New Value
        Attachment Case13589Example.zip [ 22095 ]
        Arran Mccullough made changes -
        Attachment Case13589Example.war [ 22096 ]
        Ken Fyten made changes -
        Workaround Description 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.
        Fix Version/s 4.2 [ 12870 ]
        Priority Major [ 3 ] Minor [ 4 ]
        Workaround Exists Yes [ 10007 ]
        Ken Fyten made changes -
        Assignee Mircea Toma [ mircea.toma ]
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Mircea Toma made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Arran Mccullough made changes -
        Fix Version/s EE-3.3.0.GA_P05 [ 13082 ]
        Mircea Toma made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Fix Version/s 4.2.BETA [ 13091 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: