3 Replies Latest reply on Aug 9, 2008 12:07 PM by Sergey Smirnov

    Pressing enter does real submit?

    Ben Kyrlach Newbie

      I've got a really simple JSF form with one h:inputText and one a:commandButton designed to do an ajax submit. However, when I type text into the input field and press the return key, it does a full, non-ajax post-back to the page. This behaviour is even evident in the live demo page here...

      http://livedemo.exadel.com/richfaces-demo/richfaces/commandButton.jsf?c=commandButton

      Is there a way to work around this behaviour?

      Thanks.