0 Replies Latest reply on Jun 2, 2011 1:21 PM by Jay Haley

    disable hotkey for inputTextArea

    Jay Haley Newbie

      I’m having problems using the hotkey.  I want to disable it if the user is in a textArea, but have it enabled when they are outside of that area.  I tried using the disableInInputTypes and disableInInput attributes, but could not get this to work

       

      <t:inputTextarea value="#{acceptanceCtrl.emailRequest.message}" />

      <a4j:commandButton value="Send" id="cmdSend" action="#{acceptanceCtrl.send}" />

      <rich:hotKey key="return" handler="#{rich:element('cmdSend')}.click()"></rich:hotKey>