<h:form>
<h:panelGrid columns="3" >
<h:outputText value="Name "/>
<h:inputText value="#{bean.name}"/>
<h:commandButton value="Submit"
action=""/>
</h:panelGrid>
</h:form>
It is working fine if pressing the command button. But if I input a name and press RETURN key, the form seems submitted, but the action method is not executed. It is nice to allow user to input a name and press RETURN without pressing the button. How? Thanks!
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2ยข/min or less.

