7 Replies Latest reply on Sep 22, 2013 7:28 AM by Orlando Pereira Dias

    a4j:render with multiple fields

    Orlando Pereira Dias Newbie

      I have an application using three cascade dropdowns (one of them triggers the others). I'm using a4j:ajax for .

       

      <a4j:ajax event="valueChange" render=":formPesquisa:cdPfl :formPesquisa:cdMnu" execute="@form" />
      
      

       

      • Using IE 10 (10.0.9200.16686) the second field in render list doesn't update.
      • Using FireFox e Chrome the applications works fine.

       

      I put an a4j:log command in the page.

       

      The result for IE is:

      Element update for id=formPesquisa:cdMnu
      <update id="formPesquisa:cdMnu"><![CDATA[<select id="formPesquisa:cdMnu" name="formPesquisa:cdMnu" size="1"> <option value="200">Performance </option> <option value="300">Financeiro </option> <option value="400">Acionamento </option> <option value="500">Agentes </option> <option value="70">Aging </option> <option value="1" selected="selected">Config </option> <option value="600">LOSANGO </option> <option value="10">Agentes </option>< /select>]]></update>
      Element update for id=formPesquisa:cdPfl
      <update id="formPesquisa:cdPfl"><![CDATA[<select id="formPesquisa:cdPfl" name="formPesquisa:cdPfl" size="1"> <option value="302">Consultores A2S</option> <option value="322">AUDITORES EXTERNOS</option> <option value="468">PLANEJAMENTO</option>< /select>]]></update>
      Element update for id=javax.faces.ViewState
      <update id="javax.faces.ViewState"><![CDATA[5236020712296251811:2509790192194722504]]></update>

       

      error[13:17:34.930]: Received 'error@malformedXML' event from <select id=formPesquisa:cdSis ...>

      error[13:17:34.931]: [200] undefined: undefined

      info [13:17:34.932]: Received 'complete' event from <select id=formPesquisa:cdSis ...>

       

      The result for Firefox is:

      Element update for id=formPesquisa:cdMnu
      <update id="formPesquisa:cdMnu"><![CDATA[<select id="formPesquisa:cdMnu" name="formPesquisa:cdMnu" size="1"> <option value="1" selected="selected">Cadastro </option> <option value="2">Associacao </option> <option value="3">Manual </option> <option value="4">Tabelas </option> </select>]]></update>
      Element update for id=formPesquisa:cdPfl
      <update id="formPesquisa:cdPfl"><![CDATA[<select id="formPesquisa:cdPfl" name="formPesquisa:cdPfl" size="1"> <option value="1">ADMINISTRADOR E-COB</option> <option value="2">TESTE</option> <option value="3">TESTE 55</option> </select>]]></update>
      Element update for id=javax.faces.ViewState
      <update id="javax.faces.ViewState"><![CDATA[6522548950814803962:9153646928807400277]]></update>

      info [13:17:00.969]: Received 'success' event from <select id=formPesquisa:cdSis ...>

      info [13:17:00.970]: Received 'complete' event from <select id=formPesquisa:cdSis ...>


      Am I doing anything wrong? Or Is it a bug?