3 Replies Latest reply on Jun 18, 2007 9:32 AM by Ilya Shaikovsky

    Double method call

    Brian Vaughn Newbie

      I'm seeing my method in my bean called twice from the following code:

      <%@ taglib uri="https://ajax4jsf.dev.java.net/ajax" prefix="a4j"%>
      <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
      <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
       <html>
       <head>
       <title>Echo Test</title>
       </head>
       <body>
       <f:view>
       <h:form>
       <h:inputText size="50" value="#{bean.text}" >
       <a4j:support event="onkeyup" reRender="rep"/>
       </h:inputText>
       <a4j:outputPanel ajaxRendered="true">
       <h:outputText value="#{bean.text}" id="rep"/>
       </a4j:outputPanel>
       </h:form>
       </f:view>
       </body>
       </html>
      


      Any idea why? this would happen?