1 Reply Latest reply on Apr 27, 2009 11:08 PM by ask777

    a4j events not being raised in tomcat 6.o deployment

      Ajax events are not being raised in a seam 2.1.1.ga app deployed to tomcat 6.0. Wondering if rich faces ajax filter has to be defined in web.xml.


      The ajaxSingle attribute has been defined to be true .


      How does one debug the problem.


      Thanks fofr any insight.

        • 1. Re: a4j events not being raised in tomcat 6.o deployment
          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. '
          The question then is, whys is this happening?.

          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>