5 Replies Latest reply on Aug 14, 2012 4:40 PM by Brendan Healey

    How to disable backspace key in <h:selectOneMenu>

    anand_lgv Newbie

      I have a requirement to disable BACKSPACE key inside a form. I could able to achieve that using <rich:hotKey key="backspace" onkeydown="return false"/> for all components inside the page except h:selectOneMenu. After placing the cursor in h:selectOneMenu, if i click the backspace button, it is navigating to the previous screen. I am using Richfaces 4.2, JSF 2.0[MyFaces 2.0]. Do anyone have faced such issue?