posted 15 years ago
Hi All,
<h:inputText value="#{bean.keyword}" />
<h:commandButton action ="#{bean.search}" value="Search"/>
On clicking the search button, search method in bean is called..
i want when the user types the keyword in text box and presses the enter key , form should be submitted as well as bean method should be called for searching.
Is that possible ? Thanks in advance.