6 Replies Latest reply on May 18, 2012 12:14 AM by pushkaraj20885

    a4j:support not working for h:selectOneMenu in Firefox

    connettoajax

      Facing a problem with ajax4jsf in Firefox the same code works fine in IE.

      My requirement is to have Three h:selectOneMenu on the change on First one the data is retrive database for the second one and on the change on the second one the data is retrive database for the third one and on the change on the third one the actual data is display in an text field.

      Now I am using a4j:support to retrive the value from database when there is a change in the h:selectOneMenu it works fine of IE but create a problem in Firefox.

      In Firefox the values on change First dropdown (h:selectOneMenu) the second dropdown is reflected but on the change on the second the changes in not reflected.

      There is not error messages also. The same code works fine in IE.

      please find the code for reference.

      <h:selectOneMenu id="idRegion" value="#{Bean1.selPole}" >
       <f:selectItems value="#{Bean1.listPoles}" />
       <a4j:support event="onchange" action="#{Bean1.selectMaterialPole}" reRender="idRegion,idCounty">
       </a4j:support>
      </h:selectOneMenu>
      
      <h:selectOneMenu id="idRegion" value="#{Bean1.selRegion}" >
       <f:selectItems value="#{Bean1.listRegion}"/>
       <a4j:support event="onchange" action="#{Bean1.selectMaterialRegion}" reRender="idCounty">
       </a4j:support>
      </h:selectOneMenu>
      
      <h:selectOneMenu id="idCounty" value="#{Bean1.selCounty}">
       <f:selectItems value="#{Bean1.listCounty}"/>
       <a4j:support event="onchange" action="#{Bean1.selectMaterialCounty}" reRender="idpopulation,idpopulationHidden">
       </a4j:support>
      </h:selectOneMenu>
      
      <h:inputText id="idpopulation" value="#{Bean1.poppulation}" styleClass="txtstyle" readonly="true" size = "10" style="valign:top" maxlength="10"/><br/>
      
      <h:inputHidden id="idpopulationHidden" value="#{Bean1.poppulation}" />


      Bean1 is in session scope in face-config.xml


      Does multiple request does not work in firefox with Ajax4JSF ?..

      I appreciate any suggestions or feedback


        • 1. Re: a4j:support not working for h:selectOneMenu in Firefox
          connettoajax

           

          "connetToAjax" wrote:
          Facing a problem with ajax4jsf in Firefox

          My requirement is to have Three h:selectOneMenu on the change on First one the data is retrive from the database for the second dropdown and on the change on the second one the data is retrive from the database for the third dropdown and on the change on the third one the actual data is display in an text field from the database.

          Now I am using a4j:support to retrive the value from database when there is a change in the h:selectOneMenu.

          This code works fine of IE but create a problem in Firefox.

          In Firefox the values on change First dropdown (h:selectOneMenu) the second dropdown is reflected(fetch with data) but on the change on the second dropdown the data is not retrive from the database for the third dropdown. The selected value for second dropdown appears as null.

          There is not error messages also. The same code works fine in IE.

          please find the code for reference.

          <h:selectOneMenu id="idRegion" value="#{Bean1.selPole}" >
           <f:selectItems value="#{Bean1.listPoles}" />
           <a4j:support event="onchange" action="#{Bean1.selectMaterialPole}" reRender="idRegion,idCounty">
           </a4j:support>
          </h:selectOneMenu>
          
          <h:selectOneMenu id="idRegion" value="#{Bean1.selRegion}" >
           <f:selectItems value="#{Bean1.listRegion}"/>
           <a4j:support event="onchange" action="#{Bean1.selectMaterialRegion}" reRender="idCounty">
           </a4j:support>
          </h:selectOneMenu>
          
          <h:selectOneMenu id="idCounty" value="#{Bean1.selCounty}">
           <f:selectItems value="#{Bean1.listCounty}"/>
           <a4j:support event="onchange" action="#{Bean1.selectMaterialCounty}" reRender="idpopulation,idpopulationHidden">
           </a4j:support>
          </h:selectOneMenu>
          
          <h:inputText id="idpopulation" value="#{Bean1.poppulation}" styleClass="txtstyle" readonly="true" size = "10" style="valign:top" maxlength="10"/><br/>
          
          <h:inputHidden id="idpopulationHidden" value="#{Bean1.poppulation}" />


          Bean1 is in session scope in face-config.xml

          Does multiple request does not work in firefox with Ajax4JSF ?..

          I appreciate any suggestions or feedback ....


          • 2. Re: a4j:support not working for h:selectOneMenu in Firefox
            thinkpad2

            Hi,
            I am using up to 5 selectOneMenu Boxes with Ajax. Works fine! But I did get problems too. You should try to work with an a4j:region for reRendering that section.

            • 3. Re: a4j:support not working for h:selectOneMenu in Firefox
              ilya_shaikovsky

              connetToAjax, place rich:messages on the page instead of h: one if you've using them. Still no messages?

              • 4. Re: a4j:support not working for h:selectOneMenu in Firefox
                rart3001_1

                Greetings.

                 

                I  have the same problem with all three combos, I put a Backing Bean , log.info("....") in the beginning of each method called by the  <a4j:support> but only when I select the first combo is that I see the loger in the console and that run the method in backing bean ok, when I select the second no loger appears on the console. I install the phaseTracker.jar and 6 Phases run properly, here are some of the code:

                 

                <h:outputLabel for="paisId" value="#{uiLabel['reg.direccion.pais']}: " />
                                <h:selectOneMenu required="true" id="paisId" label="#{uiLabel['reg.direccion.pais']}" converter="paisConverter" value="#{mbCrearEmpresa.empresa.direccion.pais}" >
                                    <f:selectItems value="#{mbCrearEmpresa.paisItems}"></f:selectItems>
                                    <a4j:support event="onchange" reRender="panelDireccion,regionEstado"  action="#{mbCrearEmpresa.cargarEstadosAction}" status="estadoStatus"/>
                                </h:selectOneMenu>
                                <rich:message for="paisId"  >
                                    <f:facet name="errorMarker">
                                        <h:graphicImage value="/imagenes/iconos/cancel.png"/>
                                    </f:facet>
                                </rich:message>

                 

                                   
                                <a4j:region id="regionEstado" selfRendered="true" >
                                    <a4j:status name="estadoStatus" id="estadoStatus" >
                                           <f:facet name="start">
                                               <h:graphicImage  value="/imagenes/loading.gif"/>
                                           </f:facet>
                                       </a4j:status>
                                       <h:panelGrid columns="3">
                                        <h:outputLabel for="estadoId" value="#{uiLabel['reg.direccion.estado']}: " rendered="#{not empty mbCrearEmpresa.estadoItems}"/>
                                        <h:selectOneMenu required="true"  id="estadoId" label="#{uiLabel['reg.direccion.estado']}" converter="estadoConverter" value="#{mbCrearEmpresa.empresa.direccion.estado}" rendered="#{not empty mbCrearEmpresa.estadoItems}">
                                            <f:selectItems value="#{mbCrearEmpresa.estadoItems}"></f:selectItems>
                                            <a4j:support   event="onchange" reRender="panelDireccion,ciudadStatus" status="ciudadStatus"   />
                                        </h:selectOneMenu>
                                        <rich:message for="estadoId"  >
                                            <f:facet name="errorMarker">
                                                <h:graphicImage value="/imagenes/iconos/cancel.png"/>
                                            </f:facet>
                                        </rich:message>
                                    </h:panelGrid>
                                    <h:messages></h:messages>
                                </a4j:region>
                                   
                                <a4j:region selfRendered="true">
                                    <a4j:status name="ciudadStatus" id="ciudadStatus" >
                                           <f:facet name="start">
                                               <h:graphicImage  value="/imagenes/loading.gif"/>
                                           </f:facet>
                                       </a4j:status>
                                       <h:panelGrid columns="3">
                                        <h:outputLabel  for="ciudadId" value="#{uiLabel['reg.direccion.ciudad']}: " rendered="#{not empty mbCrearEmpresa.ciudadItems}"/>
                                        <h:selectOneMenu required="true" id="ciudadId" label="#{uiLabel['reg.direccion.ciudad']}" converter="ciudadConverter"  value="#{mbCrearEmpresa.empresa.direccion.ciudad}" rendered="#{not empty mmbCrearEmpresa.ciudadItems}">
                                            <f:selectItems value="#{mbCrearEmpresa.ciudadItems}"> </f:selectItems>
                                            <a4j:support event="onchange" reRender="panelDireccion" >
                                            </a4j:support>
                                        </h:selectOneMenu>
                                        <rich:message for="ciudadId"  >
                                            <f:facet name="errorMarker">
                                                <h:graphicImage value="/imagenes/iconos/cancel.png"/>
                                            </f:facet>
                                        </rich:message>
                                    </h:panelGrid>
                                    <h:messages></h:messages>
                                </a4j:region>

                 

                the methods are:

                 

                public void cargarEstadosAction(){
                       
                        LOG.info("Ejecutando cargarEstadosAction()  ");
                               
                        if (this.estadoItems == null) {
                           
                            this.estadoItems = new ArrayList<SelectItem>();

                 

                            if (empresa.getDireccion().getPais() != null) {
                               
                                LOG.info("Pais seleccionado = "+empresa.getDireccion().getPais().toString());

                 

                                this.estadoItems.add(new SelectItem(null, "Seleccione un Estado"));

                 

                                for (Estado estado : estadoBusiness.buscarEstadoPorPais(getEmpresa().getDireccion().getPais())) {
                                    this.estadoItems.add(new SelectItem(estado, estado.getNombre()));
                                }
                            }
                        }
                    }

                 

                public void cargarCiudadesAction(){
                       
                        LOG.info("Ejecutando cargarCiudadesAction()  ");
                       
                        if (this.ciudadItems == null) {
                           
                            this.ciudadItems = new ArrayList<SelectItem>();

                 

                            if (this.empresa.getDireccion().getEstado() != null) {
                               
                                LOG.info("Estado seleccionado = "+empresa.getDireccion().getEstado().toString());

                 

                                this.ciudadItems.add(new SelectItem(null, "Seleccione una Ciudad"));

                 

                                for (Ciudad ciudad : ciudadBusiness.buscarCiudadPorEstado(getEmpresa().getDireccion().getEstado())) {
                                    this.ciudadItems.add(new SelectItem(ciudad, ciudad.getNombre()));
                                }
                            }
                        }
                    }

                 

                when I select the first combo the console displays

                 

                23:26:11,953 INFO  [helper] BEFORE RESTORE_VIEW 1
                23:26:11,953 INFO  [helper] BEFORE RESTORE_VIEW 1
                23:26:11,964 INFO  [helper] AFTER RESTORE_VIEW 1
                23:26:11,965 INFO  [helper] AFTER RESTORE_VIEW 1
                23:26:11,965 INFO  [helper] BEFORE APPLY_REQUEST_VALUES 2
                23:26:11,967 INFO  [helper] BEFORE APPLY_REQUEST_VALUES 2
                23:26:11,973 INFO  [helper] AFTER APPLY_REQUEST_VALUES 2
                23:26:11,974 INFO  [helper] AFTER APPLY_REQUEST_VALUES 2
                23:26:11,974 INFO  [helper] BEFORE PROCESS_VALIDATIONS 3
                23:26:11,975 INFO  [helper] BEFORE PROCESS_VALIDATIONS 3
                23:26:11,979 INFO  [AbstractBaseBean] Iniciando el metodo de busqueda
                23:26:11,980 INFO  [STDOUT] Hibernate: select pais0_.id_pais as id1_300_, pais0_.nombre as nombre300_ from radisoft.pais pais0_
                23:26:11,983 INFO  [helper] AFTER PROCESS_VALIDATIONS 3
                23:26:11,983 INFO  [helper] AFTER PROCESS_VALIDATIONS 3
                23:26:11,983 INFO  [helper] BEFORE UPDATE_MODEL_VALUES 4
                23:26:11,983 INFO  [helper] BEFORE UPDATE_MODEL_VALUES 4
                23:26:11,984 INFO  [helper] AFTER UPDATE_MODEL_VALUES 4
                23:26:11,984 INFO  [helper] AFTER UPDATE_MODEL_VALUES 4
                23:26:11,985 INFO  [helper] BEFORE INVOKE_APPLICATION 5
                23:26:11,985 INFO  [helper] BEFORE INVOKE_APPLICATION 5
                23:26:11,985 INFO  [CrearEmpresaPageCode] Ejecutando cargarEstadosAction() 
                23:26:11,985 INFO  [CrearEmpresaPageCode] Pais seleccionado = Pais [idPais=1, nombre= Venezuela]
                23:26:11,986 INFO  [EmpresasBusiness] inicia la busqueda estado dado un pais1
                23:26:11,986 INFO  [EmpresasBusiness] Inicia al validacion del pais
                23:26:11,987 INFO  [STDOUT] Hibernate: select estado0_.id_estado as id1_309_, estado0_.nombre as nombre309_, estado0_.id_pais as id3_309_ from radisoft.estado estado0_ where estado0_.id_pais=?
                23:26:11,990 INFO  [STDOUT] Hibernate: select pais0_.id_pais as id1_300_0_, pais0_.nombre as nombre300_0_ from radisoft.pais pais0_ where pais0_.id_pais=?
                23:26:11,996 INFO  [helper] AFTER INVOKE_APPLICATION 5
                23:26:11,996 INFO  [helper] AFTER INVOKE_APPLICATION 5
                23:26:11,996 INFO  [helper] BEFORE RENDER_RESPONSE 6
                23:26:11,996 INFO  [helper] BEFORE RENDER_RESPONSE 6
                23:26:12,024 INFO  [helper] AFTER RENDER_RESPONSE 6
                23:26:12,024 INFO  [helper] AFTER RENDER_RESPONSE 6

                 

                when I select the second combo the console displays:

                 

                23:28:34,047 INFO  [helper] BEFORE RESTORE_VIEW 1
                23:28:34,047 INFO  [helper] BEFORE RESTORE_VIEW 1
                23:28:34,055 INFO  [helper] AFTER RESTORE_VIEW 1
                23:28:34,056 INFO  [helper] AFTER RESTORE_VIEW 1
                23:28:34,056 INFO  [helper] BEFORE APPLY_REQUEST_VALUES 2
                23:28:34,056 INFO  [helper] BEFORE APPLY_REQUEST_VALUES 2
                23:28:34,062 INFO  [helper] AFTER APPLY_REQUEST_VALUES 2
                23:28:34,063 INFO  [helper] AFTER APPLY_REQUEST_VALUES 2
                23:28:34,063 INFO  [helper] BEFORE PROCESS_VALIDATIONS 3
                23:28:34,063 INFO  [helper] BEFORE PROCESS_VALIDATIONS 3
                23:28:34,064 INFO  [helper] AFTER PROCESS_VALIDATIONS 3
                23:28:34,064 INFO  [helper] AFTER PROCESS_VALIDATIONS 3
                23:28:34,064 INFO  [helper] BEFORE UPDATE_MODEL_VALUES 4
                23:28:34,065 INFO  [helper] BEFORE UPDATE_MODEL_VALUES 4
                23:28:34,065 INFO  [helper] AFTER UPDATE_MODEL_VALUES 4
                23:28:34,065 INFO  [helper] AFTER UPDATE_MODEL_VALUES 4
                23:28:34,066 INFO  [helper] BEFORE INVOKE_APPLICATION 5
                23:28:34,066 INFO  [helper] BEFORE INVOKE_APPLICATION 5
                23:28:34,066 INFO  [helper] AFTER INVOKE_APPLICATION 5
                23:28:34,066 INFO  [helper] AFTER INVOKE_APPLICATION 5
                23:28:34,066 INFO  [helper] BEFORE RENDER_RESPONSE 6
                23:28:34,067 INFO  [helper] BEFORE RENDER_RESPONSE 6
                23:28:34,077 INFO  [helper] AFTER RENDER_RESPONSE 6
                23:28:34,078 INFO  [helper] AFTER RENDER_RESPONSE 6

                 

                and the ajax console display:

                 

                debug[23:29:40,846]: Have Event [object Object] with properties: target: [object HTMLSelectElement], srcElement: undefined, type: change
                debug[23:29:40,847]: Query preparation for form 'j_id156' requested
                debug[23:29:40,848]: Append hidden control j_id156 with value [j_id156] and value attribute [j_id156]
                debug[23:29:40,848]: Append text control j_id156:nombreId with value [OFICCOM TECHNOLOGY C.A.] and value attribute [null]
                debug[23:29:40,849]: Append text control j_id156:rifId with value [J-29930661-4] and value attribute [null]
                debug[23:29:40,850]: Append text control j_id156:nitId with value [] and value attribute [null]
                debug[23:29:40,850]: Append text control j_id156:tlf1Id with value [02123642224] and value attribute [null]
                debug[23:29:40,851]: Append text control j_id156:tlf2Id with value [] and value attribute [null]
                debug[23:29:40,851]: Append text control j_id156:pignaWebId with value [OficcomTechnology.com] and value attribute [null]
                debug[23:29:40,852]: Append file control j_id156:uploadId:file with value [] and value attribute [null]
                debug[23:29:40,852]: Append select-one control j_id156:paisId with value [1] and value attribute [null]
                debug[23:29:40,852]: Append select-one control j_id156:estadoId with value [5000] and value attribute [null]
                debug[23:29:40,853]: Append hidden control javax.faces.ViewState with value [j_id5] and value attribute [j_id5]
                debug[23:29:40,853]: parameter j_id156:j_id214 with value j_id156:j_id214
                debug[23:29:40,854]: Look up queue with default name
                debug[23:29:40,854]: NEW AJAX REQUEST !!! with form: j_id156
                debug[23:29:40,855]: Start XmlHttpRequest
                debug[23:29:40,856]: Request state : 1
                debug[23:29:40,856]: QueryString:   AJAXREQUEST=j_id156%3AregionEstado&j_id156=j_id156&j_id156%3AnombreId=OFICCOM%20TECHNOLOGY%20C.A.&j_id156%3ArifId=J-29930661-4&j_id156%3AnitId=&j_id156%3Atlf1Id=02123642224&j_id156%3Atlf2Id=&j_id156%3ApignaWebId=OficcomTechnology.com&j_id156%3AuploadId%3Afile=&j_id156%3ApaisId=1&j_id156%3AestadoId=5000&javax.faces.ViewState=j_id5&j_id156%3Aj_id214=j_id156%3Aj_id214&
                debug[23:29:40,858]: Request state : 1
                debug[23:29:40,885]: Request state : 2
                debug[23:29:40,887]: Request state : 3
                debug[23:29:40,887]: Request state : 3
                debug[23:29:40,888]: Request state : 4
                debug[23:29:40,888]: Request end with state 4
                debug[23:29:40,888]: Response  with content-type: text/xml;charset=UTF-8
                debug[23:29:40,888]: Full response content: <?xml  version="1.0"?> <html lang="es"  xmlns="http://www.w3.org/1999/xhtml"><head><title></title><link  class="component"  href="/com.oficcom.radisof-Web/a4j/s/3_3_2.SR1org/richfaces/renderkit/html/css/basic_classes.xcss/DATB/eAGbUnaFO3T5DGkAEaUDmQ__.jsf"  rel="stylesheet" type="text/css" /><link class="component"  href="/com.oficcom.radisof-Web/a4j/s/3_3_2.SR1org/richfaces/renderkit/html/css/extended_classes.xcss/DATB/eAGbUnaFO3T5DGkAEaUDmQ__.jsf"  media="rich-extended-skinning" rel="stylesheet" type="text/css"  /><script  src="/com.oficcom.radisof-Web/a4j/g/3_3_2.SR1org.ajax4jsf.javascript.AjaxScript.jsf"  type="text/javascript"> </script><script  src="/com.oficcom.radisof-Web/a4j/g/3_3_2.SR1org.ajax4jsf.javascript.PrototypeScript.jsf"  type="text/javascript"> </script><script  src="/com.oficcom.radisof-Web/a4j/g/3_3_2.SR1org/richfaces/renderkit/html/scripts/jquery/jquery.js.jsf"  type="text/javascript"> </script><script  src="/com.oficcom.radisof-Web/a4j/g/3_3_2.SR1org/richfaces/renderkit/html/scripts/utils.js.jsf"  type="text/javascript"> </script><script  src="/com.oficcom.radisof-Web/a4j/g/3_3_2.SR1org/richfaces/renderkit/html/scripts/tooltip.js.jsf"  type="text/javascript"> </script><link class="component"  href="/com.oficcom.radisof-Web/a4j/s/3_3_2.SR1org/richfaces/renderkit/html/css/tooltip.xcss/DATB/eAGbUnaFO3T5DGkAEaUDmQ__.jsf"  rel="stylesheet" type="text/css" /><link class="component"  href="/com.oficcom.radisof-Web/a4j/g/3_3_2.SR1org/richfaces/renderkit/html/css/msg.css.jsf"  rel="stylesheet" type="text/css" /><link class="component"  href="/com.oficcom.radisof-Web/a4j/g/3_3_2.SR1org/richfaces/renderkit/html/css/msgs.css.jsf"  rel="stylesheet" type="text/css" /><link class="component"  href="/com.oficcom.radisof-Web/a4j/s/3_3_2.SR1css/panel.xcss/DATB/eAGbUnaFO3T5DGkAEaUDmQ__.jsf"  rel="stylesheet" type="text/css" /><link class="component"  href="/com.oficcom.radisof-Web/a4j/s/3_3_2.SR1css/table.xcss/DATB/eAGbUnaFO3T5DGkAEaUDmQ__.jsf"  rel="stylesheet" type="text/css" /><script  src="/com.oficcom.radisof-Web/a4j/g/3_3_2.SR1org/richfaces/renderkit/html/scripts/json/json-dom.js.jsf"  type="text/javascript"> </script><script  src="/com.oficcom.radisof-Web/a4j/g/3_3_2.SR1org/richfaces/renderkit/html/js/FileUpload.js.jsf"  type="text/javascript"> </script><script  src="/com.oficcom.radisof-Web/a4j/g/3_3_2.SR1org/richfaces/renderkit/html/js/swfobject.js.jsf"  type="text/javascript"> </script><script  src="/com.oficcom.radisof-Web/a4j/g/3_3_2.SR1org/richfaces/renderkit/html/js/progressBar.js.jsf"  type="text/javascript"> </script><script  src="/com.oficcom.radisof-Web/a4j/g/3_3_2.SR1org/ajax4jsf/javascript/scripts/form.js.jsf"  type="text/javascript"> </script><link class="component"  href="/com.oficcom.radisof-Web/a4j/s/3_3_2.SR1org/richfaces/renderkit/html/css/fileUpload.xcss/DATB/eAGbUnaFO3T5DGkAEaUDmQ__.jsf"  rel="stylesheet" type="text/css" /><link class="component"  href="/com.oficcom.radisof-Web/a4j/s/3_3_2.SR1org/richfaces/renderkit/html/css/progressBar.xcss/DATB/eAGbUnaFO3T5DGkAEaUDmQ__.jsf"  rel="stylesheet" type="text/css" /><script  src="/com.oficcom.radisof-Web/a4j/g/3_3_2.SR1org/richfaces/renderkit/html/scripts/skinning.js.jsf"  type="text/javascript"> </script><link class="user"  href="/com.oficcom.radisof-Web/css/main.css" media="screen"  rel="stylesheet" type="text/css" /><link class="user"  href="/com.oficcom.radisof-Web/css/print.css" media="print"  rel="stylesheet" type="text/css" /></head><body><dl  id="j_id142" class="rich-messages" style="display:  none;"><dt></dt></dl><span id="j_id156:j_id164"  class="rich-message"><span  class="rich-message-label"></span></span><span  id="j_id156:j_id167" class="rich-message"><span  class="rich-message-label"></span></span><span  id="j_id156:j_id172" class="rich-message"><span  class="rich-message-label"></span></span><span  id="j_id156:j_id175" class="rich-message"><span  class="rich-message-label"></span></span><span  id="j_id156:j_id208" class="rich-message"><span  class="rich-message-label"></span></span><span  id="j_id156:j_id215" class="rich-message"><span  class="rich-message-label"></span></span><span  id="j_id156:j_id224" class="rich-message"><span  class="rich-message-label"></span></span><span  id="j_id156:j_id228" class="rich-message"><span  class="rich-message-label"></span></span><dl  id="j_id156:j_id234" class="rich-messages" style="display:  none;"><dt></dt></dl><meta  name="Ajax-Update-Ids"  content="j_id142,j_id156:j_id164,j_id156:j_id167,j_id156:j_id172,j_id156:j_id175,j_id156:j_id208,j_id156:j_id215,j_id156:j_id224,j_id156:j_id228,j_id156:j_id234"  /><span id="ajax-view-state"><input type="hidden"  name="javax.faces.ViewState" id="javax.faces.ViewState" value="j_id5"  /></span><meta id="Ajax-Response" name="Ajax-Response"  content="true" /></body></html>
                debug[23:29:40,889]: Header Ajax-Expired not found, search in <meta>
                debug[23:29:40,889]: search for elements by name 'meta'  in element #document
                debug[23:29:40,889]: Find  <meta name='Ajax-Update-Ids'  content='j_id142,j_id156:j_id164,j_id156:j_id167,j_id156:j_id172,j_id156:j_id175,j_id156:j_id208,j_id156:j_id215,j_id156:j_id224,j_id156:j_id228,j_id156:j_id234'>
                debug[23:29:40,890]: Find <meta name='Ajax-Response' content='true'>
                debug[23:29:40,890]: Header Ajax-Update-Ids not found, search in <meta>
                debug[23:29:40,890]: search for elements by name 'meta'  in element #document
                debug[23:29:40,891]: Find  <meta name='Ajax-Update-Ids'  content='j_id142,j_id156:j_id164,j_id156:j_id167,j_id156:j_id172,j_id156:j_id175,j_id156:j_id208,j_id156:j_id215,j_id156:j_id224,j_id156:j_id228,j_id156:j_id234'>
                debug[23:29:40,891]: Update  page by list of rendered areas from response  j_id142,j_id156:j_id164,j_id156:j_id167,j_id156:j_id172,j_id156:j_id175,j_id156:j_id208,j_id156:j_id215,j_id156:j_id224,j_id156:j_id228,j_id156:j_id234
                debug[23:29:40,892]: search for elements by name 'script'  in element #document
                debug[23:29:40,892]: <script> in response with src=/com.oficcom.radisof-Web/a4j/g/3_3_2.SR1org.ajax4jsf.javascript.AjaxScript.jsf
                debug[23:29:40,892]: Such element exist in document
                debug[23:29:40,893]: <script> in response with src=/com.oficcom.radisof-Web/a4j/g/3_3_2.SR1org.ajax4jsf.javascript.PrototypeScript.jsf
                debug[23:29:40,893]: Such element exist in document
                debug[23:29:40,893]: <script>  in response with  src=/com.oficcom.radisof-Web/a4j/g/3_3_2.SR1org/richfaces/renderkit/html/scripts/jquery/jquery.js.jsf
                debug[23:29:40,893]: Such element exist in document
                debug[23:29:40,894]: <script> in response with src=/com.oficcom.radisof-Web/a4j/g/3_3_2.SR1org/richfaces/renderkit/html/scripts/utils.js.jsf
                debug[23:29:40,894]: Such element exist in document
                debug[23:29:40,894]: <script> in response with src=/com.oficcom.radisof-Web/a4j/g/3_3_2.SR1org/richfaces/renderkit/html/scripts/tooltip.js.jsf
                debug[23:29:40,894]: Such element exist in document
                debug[23:29:40,895]: <script>  in response with  src=/com.oficcom.radisof-Web/a4j/g/3_3_2.SR1org/richfaces/renderkit/html/scripts/json/json-dom.js.jsf
                debug[23:29:40,895]: Such element exist in document
                debug[23:29:40,895]: <script> in response with src=/com.oficcom.radisof-Web/a4j/g/3_3_2.SR1org/richfaces/renderkit/html/js/FileUpload.js.jsf
                debug[23:29:40,895]: Such element exist in document
                debug[23:29:40,896]: <script> in response with src=/com.oficcom.radisof-Web/a4j/g/3_3_2.SR1org/richfaces/renderkit/html/js/swfobject.js.jsf
                debug[23:29:40,896]: Such element exist in document
                debug[23:29:40,896]: <script> in response with src=/com.oficcom.radisof-Web/a4j/g/3_3_2.SR1org/richfaces/renderkit/html/js/progressBar.js.jsf
                debug[23:29:40,896]: Such element exist in document
                debug[23:29:40,896]: <script> in response with src=/com.oficcom.radisof-Web/a4j/g/3_3_2.SR1org/ajax4jsf/javascript/scripts/form.js.jsf
                debug[23:29:40,897]: Such element exist in document
                debug[23:29:40,897]: <script> in response with src=/com.oficcom.radisof-Web/a4j/g/3_3_2.SR1org/richfaces/renderkit/html/scripts/skinning.js.jsf
                debug[23:29:40,897]: Such element exist in document
                debug[23:29:40,897]: search for elements by name 'link'  in element #document
                debug[23:29:40,898]: <link>  in response with  src=/com.oficcom.radisof-Web/a4j/s/3_3_2.SR1org/richfaces/renderkit/html/css/basic_classes.xcss/DATB/eAGbUnaFO3T5DGkAEaUDmQ__.jsf
                debug[23:29:40,898]: Such element exist in document
                debug[23:29:40,898]: <link>  in response with  src=/com.oficcom.radisof-Web/a4j/s/3_3_2.SR1org/richfaces/renderkit/html/css/extended_classes.xcss/DATB/eAGbUnaFO3T5DGkAEaUDmQ__.jsf
                debug[23:29:40,899]: Such element exist in document
                debug[23:29:40,899]: <link>  in response with  src=/com.oficcom.radisof-Web/a4j/s/3_3_2.SR1org/richfaces/renderkit/html/css/tooltip.xcss/DATB/eAGbUnaFO3T5DGkAEaUDmQ__.jsf
                debug[23:29:40,899]: Such element exist in document
                debug[23:29:40,899]: <link> in response with src=/com.oficcom.radisof-Web/a4j/g/3_3_2.SR1org/richfaces/renderkit/html/css/msg.css.jsf
                debug[23:29:40,899]: Such element exist in document
                debug[23:29:40,900]: <link> in response with src=/com.oficcom.radisof-Web/a4j/g/3_3_2.SR1org/richfaces/renderkit/html/css/msgs.css.jsf
                debug[23:29:40,900]: Such element exist in document
                debug[23:29:40,900]: <link> in response with src=/com.oficcom.radisof-Web/a4j/s/3_3_2.SR1css/panel.xcss/DATB/eAGbUnaFO3T5DGkAEaUDmQ__.jsf
                debug[23:29:40,900]: Such element exist in document
                debug[23:29:40,900]: <link> in response with src=/com.oficcom.radisof-Web/a4j/s/3_3_2.SR1css/table.xcss/DATB/eAGbUnaFO3T5DGkAEaUDmQ__.jsf
                debug[23:29:40,901]: Such element exist in document
                debug[23:29:40,901]: <link>  in response with  src=/com.oficcom.radisof-Web/a4j/s/3_3_2.SR1org/richfaces/renderkit/html/css/fileUpload.xcss/DATB/eAGbUnaFO3T5DGkAEaUDmQ__.jsf
                debug[23:29:40,901]: Such element exist in document
                debug[23:29:40,901]: <link>  in response with  src=/com.oficcom.radisof-Web/a4j/s/3_3_2.SR1org/richfaces/renderkit/html/css/progressBar.xcss/DATB/eAGbUnaFO3T5DGkAEaUDmQ__.jsf
                debug[23:29:40,901]: Such element exist in document
                debug[23:29:40,902]: <link> in response with src=/com.oficcom.radisof-Web/css/main.css
                debug[23:29:40,902]: Such element exist in document
                debug[23:29:40,902]: <link> in response with src=/com.oficcom.radisof-Web/css/print.css
                debug[23:29:40,902]: Such element exist in document
                debug[23:29:40,902]: call getElementById for id= org.ajax4jsf.queue_script
                debug[23:29:40,903]: Update page part from call parameter for ID j_id142
                debug[23:29:40,903]: call getElementById for id= j_id142
                debug[23:29:40,904]: Replace content of node by replaceChild()
                debug[23:29:40,904]: search for elements by name 'script'  in element dl
                debug[23:29:40,904]: Scripts in updated part count : 0
                debug[23:29:40,904]: Update part of page for Id: j_id142 successful
                debug[23:29:40,905]: Update page part from call parameter for ID j_id156:j_id164
                debug[23:29:40,905]: call getElementById for id= j_id156:j_id164
                debug[23:29:40,905]: Replace content of node by replaceChild()
                debug[23:29:40,906]: search for elements by name 'script'  in element span
                debug[23:29:40,906]: Scripts in updated part count : 0
                debug[23:29:40,906]: Update part of page for Id: j_id156:j_id164 successful
                debug[23:29:40,906]: Update page part from call parameter for ID j_id156:j_id167
                debug[23:29:40,906]: call getElementById for id= j_id156:j_id167
                debug[23:29:40,907]: Replace content of node by replaceChild()
                debug[23:29:40,907]: search for elements by name 'script'  in element span
                debug[23:29:40,907]: Scripts in updated part count : 0
                debug[23:29:40,907]: Update part of page for Id: j_id156:j_id167 successful
                debug[23:29:40,908]: Update page part from call parameter for ID j_id156:j_id172
                debug[23:29:40,908]: call getElementById for id= j_id156:j_id172
                debug[23:29:40,908]: Replace content of node by replaceChild()
                debug[23:29:40,908]: search for elements by name 'script'  in element span
                debug[23:29:40,909]: Scripts in updated part count : 0
                debug[23:29:40,909]: Update part of page for Id: j_id156:j_id172 successful
                debug[23:29:40,909]: Update page part from call parameter for ID j_id156:j_id175
                debug[23:29:40,910]: call getElementById for id= j_id156:j_id175
                debug[23:29:40,910]: Replace content of node by replaceChild()
                debug[23:29:40,910]: search for elements by name 'script'  in element span
                debug[23:29:40,910]: Scripts in updated part count : 0
                debug[23:29:40,911]: Update part of page for Id: j_id156:j_id175 successful
                debug[23:29:40,911]: Update page part from call parameter for ID j_id156:j_id208
                debug[23:29:40,911]: call getElementById for id= j_id156:j_id208
                debug[23:29:40,911]: Replace content of node by replaceChild()
                debug[23:29:40,912]: search for elements by name 'script'  in element span
                debug[23:29:40,912]: Scripts in updated part count : 0
                debug[23:29:40,912]: Update part of page for Id: j_id156:j_id208 successful
                debug[23:29:40,912]: Update page part from call parameter for ID j_id156:j_id215
                debug[23:29:40,912]: call getElementById for id= j_id156:j_id215
                debug[23:29:40,913]: Replace content of node by replaceChild()
                debug[23:29:40,913]: search for elements by name 'script'  in element span
                debug[23:29:40,913]: Scripts in updated part count : 0
                debug[23:29:40,914]: Update part of page for Id: j_id156:j_id215 successful
                debug[23:29:40,914]: Update page part from call parameter for ID j_id156:j_id224
                debug[23:29:40,914]: call getElementById for id= j_id156:j_id224
                debug[23:29:40,914]: Replace content of node by replaceChild()
                debug[23:29:40,915]: search for elements by name 'script'  in element span
                debug[23:29:40,915]: Scripts in updated part count : 0
                debug[23:29:40,915]: Update part of page for Id: j_id156:j_id224 successful
                debug[23:29:40,915]: Update page part from call parameter for ID j_id156:j_id228
                debug[23:29:40,915]: call getElementById for id= j_id156:j_id228
                debug[23:29:40,916]: Replace content of node by replaceChild()
                debug[23:29:40,916]: search for elements by name 'script'  in element span
                debug[23:29:40,916]: Scripts in updated part count : 0
                debug[23:29:40,916]: Update part of page for Id: j_id156:j_id228 successful
                debug[23:29:40,916]: Update page part from call parameter for ID j_id156:j_id234
                debug[23:29:40,917]: call getElementById for id= j_id156:j_id234
                debug[23:29:40,917]: Replace content of node by replaceChild()
                debug[23:29:40,917]: search for elements by name 'script'  in element dl
                debug[23:29:40,917]: Scripts in updated part count : 0
                debug[23:29:40,918]: call getElementById for id= org.ajax4jsf.oncomplete
                debug[23:29:40,918]: Processing updates finished, no oncomplete function to call
                debug[23:29:40,918]: Update part of page for Id: j_id156:j_id234 successful
                debug[23:29:40,918]: call getElementById for id= ajax-view-state
                debug[23:29:40,918]: Hidden JSF state fields: [object HTMLSpanElement]
                debug[23:29:40,919]: Namespace for hidden view-state input fields is undefined
                debug[23:29:40,919]: search for elements by name 'input'  in element span
                debug[23:29:40,919]: Replace value for inputs: 11 by new values: 1
                debug[23:29:40,919]: Input in response: javax.faces.ViewState
                debug[23:29:40,920]: Found same input on page with type: hidden
                debug[23:29:40,920]: search for elements by name 'INPUT'  in element span
                debug[23:29:40,921]: Replace value for inputs: 11 by new values: 0
                debug[23:29:40,921]: call getElementById for id= _A4J.AJAX.focus
                debug[23:29:40,921]: No focus information in response

                 

                and dont know what else to do, if you have any suggestions thank you very much in advance, and excuse my English

                • 5. Re: a4j:support not working for h:selectOneMenu in Firefox
                  pushkaraj20885

                  use

                  <a4j:support ajaxSingle="true"

                   

                  and <a4j:region renderRegionOnly="true">

                  • 6. Re: a4j:support not working for h:selectOneMenu in Firefox
                    pushkaraj20885

                    try this......

                     

                    <a4j:region renderRegionOnly="false">

                    <h:selectOneMenu id="idRegion" value="#{Bean1.selPole}" >

                    <f:selectItems value="#{Bean1.listPoles}" />

                    <a4j:support event="onchange" action="#{Bean1.selectMaterialPole}" reRender="idRegion,idCounty">

                    </a4j:support>

                    </h:selectOneMenu>

                    </a4j:region>

                     

                    <a4j:region renderRegionOnly="false">

                    <h:selectOneMenu id="idRegion" value="#{Bean1.selRegion}" >

                    <f:selectItems value="#{Bean1.listRegion}"/>

                    <a4j:support event="onchange" action="#{Bean1.selectMaterialRegion}" reRender="idCounty">

                    </a4j:support>

                    </h:selectOneMenu>

                    </a4j:region>

                     

                    <a4j:region renderRegionOnly="false">

                    <h:selectOneMenu id="idCounty" value="#{Bean1.selCounty}">

                    <f:selectItems value="#{Bean1.listCounty}"/>

                    <a4j:support event="onchange" action="#{Bean1.selectMaterialCounty}" reRender="idpopulation,idpopulationHidden">

                    </a4j:support>

                    </h:selectOneMenu>

                    </a4j:region>