I have a jsf application in which I have used xhtml to display the presentation layer. Screen which I have designed has just 1 text field, and a command button. When user provides some input and presses "Enter" key, then page just refreshes but command button action is not invoked.
However, if my form contains 2 text fields, instead of 1 text field - then after user provides input and presses "enter" key - controls reaces to command button action and everything works fine.
I have tested this multiple forms, and every form is having same behaviour , i.e if form contains just single text field - Enter key does not work.
An IDE is no substitute for an Intelligent Developer.