Frank explains how to submit a form with the Enter key on his blog.
He works with the standard JSF h:form component and creates JavaScript code to handle the Enter key.
Another solution, that doesn't require Javascript coding, is to use the af:form
It contains a property defaultCommand where you can specify the id
attribute of the command button whose action will be invoked by
default for form submit on hitting ENTER on any of the input fields of
the form.
See the detailed explanation [Here]