1 Reply Latest reply on Oct 18, 2012 5:29 AM by Siva P

    How block key “esc” on RichFacesPleaseWaitBox?

    Fernando Gomes Newbie

      I have an implementation of "RichFacesPleaseWaitBox" in my application, but has a problem.

      When the user initiates any action, the status starts, displaying the modal "Waiting." When the action finishes execution, the status ends, hiding the modal "Waiting." Until here all right.

      However, if the user starts the action, press the "ESC", the modal "Waiting" which had appeared, it disappears, allowing the user to click on the action again, making a new submit.

      How can I block "ESC" to get workaround for this problem?

      I Have tried that in my modalPanel, but not work.

       

      <rich:hotKey id="hotKeyModalPanelSTATUS" handler="alert('false');" key="esc" />