0 Replies Latest reply on Jul 23, 2012 11:59 AM by Michael Heinen

    rich:hotKey - disable backspace not working in 4.2.2

    Michael Heinen Newbie

      Is anybody using the rich:hotkey in order to disable the backspace button?

      It was working well with richfaces 3.3.3 but I do not get it working with richfaces 4.2.2 and myfaces 2.1.8

       

      I tried it this way in order to bind it to the document:

       

      <h:body

         <rich:hotKey key="backspace" preventDefault="true" enabledInInput="false"/>

          ...

      </h:body

       

      and this way:

      <h:body

         <rich:hotKey key="backspace" preventDefault="true" enabledInInput="false">

          ...

        </rich:hotKey>

      </h:body

       

       

      Any idea?