Neither, it's just how IE works. Incidentally, the IE7 beta seems to behave how you would expect (it submits the form).
I guess more than 80% of users in this world use IE 6. Is there any way to get around this problem?
What I have now is quite simple. A form contains 2 elements: a inputText for user to enter search term, and a commandButton for submit the form (similar to google's home page). When user entered the search term and press enter, nothing happens!
Don't you think it's a bit funny to say "Seam+Facelet+JSF doesn't support any user interface simple as google's, but support fancy UIs like Amazon or EBay's"?
It should work, there is nothing preventing you from doing it.
See the demo: http://seam.demo.jboss.com/
Press enter after submitting a username/password and it will work even on IE 6.
However if there is no submit button at all that's a wrong design and browsers do what they want...
Seam supports a user interface as simple as google...
Actually now i see what you mean in the "Search" page of the booking it doesn't behave correctly.
But it probably has nothing to do with the fact that it's alone on the form.
The Seam booking demo works because it has 2 input fields: username and password. If there's only one input field (say only username), it would stop working. It is caused by being alone in the form.
I guess the first thing to do is to find out whether this is a Seam bug, or Facelet bug? With this problem, people can't build a user interface as simple as google by using Seam+Facelets.
aha, it's a jsf issue.
Looks like the simplest solution is to add one more field with "width: 0px; height: 0px" to make it invisible.
thanx for the advice but i think it's fair to call this a JSF bug ...