Bom dia pessoal;
Estou com um problema estranho com relação ao submit da página, pois quando clico na imagem para submeter a mesma preciso fazer 2 vezes.
Na primeira vez é feito um refresh da mesma, nao executando nenhuma linha da mesma, e na segunda vez procede normalmente...
Alguem tem alguma idéia para resolver este problema?????
Estou postando o código da página para análise;
<?xml version="1.0" encoding="UTF-8"?>
<jsp:root version="1.2" xmlns:a4j="http://richfaces.org/a4j" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
xmlns:j4j="http://javascript4jsf.dev.java.net/" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:rich="http://richfaces.org/rich" xmlns:webuijsf="http://www.sun.com/webui/webuijsf">
<jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
<f:view>
<webuijsf:page binding="#{Logon.page1}" id="page1">
<webuijsf:html binding="#{Logon.html1}" id="html1">
<webuijsf:head binding="#{Logon.head1}" id="head1">
<webuijsf:link binding="#{Logon.link1}" id="link1" url="/css/recarga.css"/>
</webuijsf:head>
<webuijsf:body binding="#{Logon.body1}" id="body1">
<div id="fundo">
<webuijsf:form binding="#{Logon.form1}" id="form1">
<webuijsf:panelLayout binding="#{Logon.dynamicPanel}" id="dynamicPanel" panelLayout="flow">
<webuijsf:image id="image1" style="height: 118px; margin-left: -111px; left: 50%; top: 15px; position: absolute; width: 222px" url="/img/logo.png"/>
<webuijsf:textField binding="#{Logon.usuarioTextField}" columns="14" id="usuarioTextField" style="font-size: 14px; height: 14px; left: 258px; top: 160px; position: absolute; text-align: left; width: 120px"/>
<webuijsf:label for="usuarioTextField" id="usuarioLabel"
style="color: white; font-size: 18px; font-weight: bold; left: 258px; top: 135px; position: absolute" text="Usuário"/>
<webuijsf:passwordField binding="#{Logon.senhaPassField}" columns="14" id="senhaPassField" style=" font-size: 14px; height: 13px; left: 258px; top: 204px; position: absolute; text-align: left; width: 120px;"/>
<webuijsf:label for="senhaPassField" id="senhaLabel" labelLevel="1" requiredIndicator="true"
style="color: white; font-size: 18px; font-weight: bold; left: 258px; top: 180px; position: absolute" text="Senha"/>
<webuijsf:button actionExpression="#{Logon.biometriaBotao_action}" binding="#{Logon.biometriaBotao}" id="biometriaBotao"
style="display:none" text="Button"/>
<webuijsf:button actionExpression="#{Logon.entrarBotao_action}" binding="#{Logon.entrarBotao}" id="entrarBotao" style="display:none" text="Button"/>
<a4j:outputPanel id="entrar">
<div id="biometria_menu">
<h:graphicImage onclick="document.getElementById('form1:dynamicPanel:biometriaBotao').click()" value="/img/biometria.png"/>
</div>
<div id="entrar_menu">
<h:graphicImage onclick="document.getElementById('form1:dynamicPanel:entrarBotao').click()" value="/img/entrar.png"/>
</div>
</a4j:outputPanel>
<rich:jQuery query="addClass('pic-normal')" selector="#entrar img"/>
<rich:jQuery query="wrap('<div class=\'wrap1\'></div>')" selector="#entrar img"/>
<rich:jQuery query="mouseout(function(){normalPic(this)})" selector="#entrar img"/>
<rich:jQuery query="mouseover(function(){enlargePic(this)})" selector="#entrar img"/>
<rich:jQuery query="load(function(){normalPic(this)})" selector="#entrar img"/>
<rich:jQuery name="normalPic" query="stop().animate({width:'70px'})" timing="onJScall"/>
<rich:jQuery name="enlargePic" query="stop().animate({width:'100px'})" timing="onJScall"/>
</webuijsf:panelLayout>
<webuijsf:alert binding="#{Logon.mensagemErro}" id="mensagemErro"/>
</webuijsf:form>
</div>
</webuijsf:body>
</webuijsf:html>
</webuijsf:page>
</f:view>
</jsp:root>
Valew galera e aguardo um retorno assim que possível :)