Na minha página de login tem um form que não é submetido quando aperto enter. Eu tirei tudo e deixei somente os campos e os botões e sonsegui submetê-lo pelo enter.
Alguém sabe o que está atrapalhando submeter este formulário apertando enter?
<h:form id="login" >
<br/><br/><br/><br/>
<table width="1046" border="0" align="center" cellpadding="0"
cellspacing="0">
<tr>
<td width="49"> </td>
<td width="456" class="modSup"> </td>
<td width="541"> </td>
</tr>
<tr>
<td valign="top" align="center" class="modEsq">
<br/><br/>
<h:graphicImage
url="#{a4jSkin.imgIconPalette}"
style="cursor:pointer"
title="Alterar o esquema de cores"
onclick="Richfaces.showModalPanel('skinPanel')" /><br/>
<h:commandButton
action="#{skinZoom.setTmNormal()}"
image="#{a4jSkin.imgIconZoomNormal}"
style="width: 16px; height: 16px;"/><br/>
<h:commandButton
action="#{skinZoom.setTmMedio()}"
image="#{a4jSkin.imgIconZoomMedio}"
style="width: 16px; height: 16px;"/><br/>
<h:commandButton
action="#{skinZoom.setTmGrande()}"
image="#{a4jSkin.imgIconZoomGrande}"
style="width: 16px; height: 16px;"/><br/>
</td>
<td class="modCentral" align="center">
<div id="divLogin" style="display: block;">
<rich:panel styleClass="painelLog"
headerClass="painelLoginHeader">
<f:facet name="header">Identificação</f:facet>
<p>Informe o seu nome de usuário e senha</p>
<div class="dialog">
<h:panelGrid columns="2"
rowClasses="prop" columnClasses="name,value">
<h:outputLabel for="username">Usuário</h:outputLabel>
<h:inputText id="username" value="#{credentials.username}" />
<h:outputLabel for="password" style="margin-right:8px">Senha</h:outputLabel>
<h:inputSecret id="password" value="#{credentials.password}" />
<h:outputLabel for="rememberMe">Lembrar</h:outputLabel>
<h:selectBooleanCheckbox id="rememberMe" styleClass="checkbox"
value="#{rememberMe.enabled}" />
</h:panelGrid>
<div id="novaSenha" style="display: none; padding-left: 7px">
<h:outputLabel for="newPassword1"
style="margin-right:18px; font-weight: bold">Nova Senha</h:outputLabel>
<h:inputSecret id="newPassword1"
value="#{authenticator.newPassword1}" /> <br></br><br></br>
<h:outputLabel for="newPassword2"
style="margin-right:11px; font-weight: bold">Confirmação</h:outputLabel>
<h:inputSecret id="newPassword2"
value="#{authenticator.newPassword2}" />
</div>
</div>
</rich:panel>
<div class="actionButtons"
style="width: 400px !important; padding-left: 25px;">
<h:commandButton
value="Entrar" styleClass="buttons dr-tbpnl-tb-inact"
action="#{identity.login}" onclick="{identity.login}" id="bt_entrar" />
<input class="buttons dr-tbpnl-tb-inact" id="btnTrocar"
type="button" value="Trocar Senha" style="width: 110px !important"
onclick="mudar()" />
<input class="buttons dr-tbpnl-tb-inact"
id="btnTrocarSenha" type="button" value="Requisitar Nova Senha"
style="width: 170px !important"
onclick="Richfaces.showModalPanel('panelTeste')" />
</div>
</div>
</td>
<td class="modDir" valign="top" style="padding-top: 10px;">
<table width="100%" border="0">
<tr>
<td>
<img src="img/brasaoRep.png" />
</td>
<td>
#{nomeSistema} <br/>
<h:outputText value=" Versão: #{versao}"/>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td> </td>
<td class="modInf"> </td>
<td> </td>
</tr>
</table>
</h:form>