1 Reply Latest reply on Apr 27, 2009 12:42 PM by ask777

    a4j support event not being raised in tomcat 6.0 deployment

      I have a seam 2.1.1.ga app deployed to a tomcat 6.0 server.

      I am finding that the a4j support events are not being raised at all. Here's how I have set up the .xhtml for it :

      <a:support ajaxSingle="true" event="onchange"
       reRender="categoryPanel,subCategoryPanel">
      </a:support>
      


      I have not defined any ajax4jsf filter in web.xml as it is not required in a seam 2.1.1.ga environment.

      Any help on how I can debug this is appreciated.

      The same app that was deployed to a jboss 5.0 environment is not having the problem.

        • 1. Re: a4j support event not being raised in tomcat 6.0 deploym

          on examining the source as rendered by the browser, I do not see a onchange ajax handler for the jsf control for which a4j:support has been declared. i.e source should have had a handler like this : onchange="A4J.AJAX.Submit(..)"

          The question then is, who is dropping the ball.

          Here's the xhtml for which there is no onchange handler being generated in html

          <h:selectOneMenu id="busCat" value="#{account.businessCategory}">
          
          <a:support event="onchange"
           reRender="busCat,busSubCat" ajaxSingle="true"/>
           <f:selectItems id="businessCategories"
           value="#{categoryManager.categories}" />
          </h:selectOneMenu>
          
           <h:selectOneMenu id="busSubCat"
           value="#{account.businessSubcategory}">
           <f:selectItems value="#{categoryManager.subCategories}" />
          </h:selectOneMenu>