Hi,

I have this simple page:

<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:t="http://myfaces.apache.org/tomahawk">
<body>
    <f:view>
        <h:form>                   
               <h:inputText value="#{results.term}" size="60"/>&#160;&#160;
            <h:commandButton value="Search"
                             action=""/>
          </h:form>   
    </f:view>         
</body>
</html>

The action is invoked on IE only if i press the submit button, if the focus is on the input field and i hit enter, it just refreshes the page but no action is invoked. I tested this with Firefox, and there everything works as expected.

Any of you know what might be the problem?

Thanks in advance,
Catalin



What are the most popular cars? Find out at Yahoo! Autos

Reply via email to