wood burning stoves*
The moose likes JSF and the fly likes submit form only by pressing enter Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "submit form only by pressing enter" Watch "submit form only by pressing enter" New topic
Author

submit form only by pressing enter

moaad elamrani
Greenhorn

Joined: Jun 20, 2011
Posts: 6
Hello everyone,

I have a JSF page containing a search field. The problem is when I choose a search criteria + key word (ex : name --> Marc) then I tape enter : Nothing happen.


// Below the code of the field where I enter the search key word.



To display search results I have to press a commandLink:



My objective is to display search results also by pressing enter after choosing criteria + key word, I want "enter" to do the same actions as "the command link above". Does any one know about that ?

Thanks in advance.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: submit form only by pressing enter
 
Similar Threads
Foreign key field population from datatable to textbox?
How to display custom message for inputText field of integer type
Display background color
Display an array in a swing type box
Need help !!!! Facing problem with display of data fetched from Database