1 Reply Latest reply on Dec 11, 2008 6:25 AM by ilya_shaikovsky

    How to prevent propagation of hotkey like "Ctrl+P"

    jobb

      The question is how to stop further propagation of <rich:hotkey> for common combination like "Ctrl+P" (print in browser)
      I need to use "Ctrl+P" in my application but I don't want to trigger printing function in the browser.
      Example:

      <rich:hotKey key="Ctrl+P" handler="document.getElementById('form:body:...').click();" />
      

      "Ctrl+P" simulate click on the button and desired behavior but in addition to this print in browser is triggered