The following is required to create a form for submit with the Enter key in declarative way:
1. Replace generated by default h:form with the af:form
2. Specify the id attribute for the af:commandButton
3. Set the af:commandButton's id in the af:form's defaultCommand attribute
Enjoy.
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment