Olá Pessoal to com o seguinte problema, tenho um codigo jsf onde temos um buuton que realiza uma pesquisa, entao qdo eu aperto enter ou em pesquisar ele deveria funcionar mas so funciona no firefox e no internet explorer so funciona apertando em pesquisar, vcs pode me ajudar?
ai tah o código da aplicação
<div class="rotulo">
<label for="txtChavePesquisa">Chave de Pesquisa* : </label>
</div>
<div class="campo">
<input type="text" jsfc="h:inputText" required="true" requiredMessage="Preencha a Chave de Pesquisa" name="txtChavePesquisa"
binding="#{estabelecimentoBean.chavePesquisa}" id="txtChavePesquisa" size="40" maxlength="80"
onkeypress="return MaskFiltrarDeclaracao('formPesquisarEstabelecimento:txtChavePesquisa', event,'formPesquisarEstabelecimento:slctTipoPesquisa')"/>
</div>
<div class="rotulo">
<h:outputText styleClass="rotulo" binding="#{estabelecimentoBean.ufOpcional}" id="out_estab_uf_015"/>
</div>
<div class="campo">
<select property="slctUF" binding="#{estabelecimentoBean.slctUf}" jsfc="h:selectOneMenu" id="slctUF" rendered="false" >
<option id="optionUf" jsfc="f:selectItems" value="#{estabelecimentoBean.listaUfs}" ></option>
</select>
</div>
<div class="panelAction">
<input type="button" jsfc="h:commandButton" action="#{estabelecimentoBean.pesquisar}" value="#{button['pesquisar']}" />
<input type="button" jsfc="h:commandButton" action="#{estabelecimentoBean.inicializarPesquisa}" value="#{button['limpar']}" immediate="true" />
<br /><br />
</div>
alguem sabe como resolver esse tipo de problema