0 Replies Latest reply on Oct 31, 2011 4:40 AM by evialxg

    IE9 and a4j rerender issue

    evialxg

      Hi to everybody. I am facing a strange issue. I am currently using Richfaces 3.3.3 CR1 and the following code:

       

        
       <a4j:commandButton id="newDocumentSubmit" styleClass="okButton" limitToList="true"
                      reRender="newDocFileUpload,ProcessMessageIconId,ProcessMessageId" 
                      title="#{bundle.Label_Submit}" onclick="if(submitnewDocumentPanel(this)==false){return;}" 
                      style="cursor:pointer;font-family:Verdana;font-size:10px;color:white;border:0px;background:url('images/okButton.png') no-repeat;"
                      oncomplete="#{rich:component('newDocFileUpload')}.enable();oncompleteDocSubmit();"
                      action="#{modalPanelNewDocumentBack.insert}"/>
      

       

       

      which is a button that 1) uploads  a file , 2) rerenders some fileds (that expose a success or failure message to the user)  with the reRender attribute and 3) executes some javascript with the  oncomplete attribute.

      The issue is that on IE9 the functionality is not completed- the reRender thing seems not to be completed and thus the oncomplete attribute is not executed.After removing the reRender attribute, the oncomplete is executed finely.

       

      The last rows of the log are the following :

       

      debug[10:08:20,142]: Such element exist in document

      debug[10:08:20,142]: <link> in response with src=/PapyrusWebJSF/faces/a4j/s/3_3_3.CR1org/richfaces/renderkit/html/css/extended_both.xcss/DATB/eAF7sqpgb-jyGdIAFrMEaw__

      debug[10:08:20,142]: Such element exist in document

      debug[10:08:20,142]: <link> in response with src=/PapyrusWebJSF/faces/a4j/s/3_3_3.CR1org/richfaces/renderkit/html/css/modalPanel.xcss/DATB/eAF7sqpgb-jyGdIAFrMEaw__

      debug[10:08:20,143]: Such element exist in document

      debug[10:08:20,143]: <link> in response with src=/PapyrusWebJSF/faces/a4j/s/3_3_3.CR1css/panel.xcss/DATB/eAF7sqpgb-jyGdIAFrMEaw__

      debug[10:08:20,143]: Such element exist in document

      debug[10:08:20,143]: <link> in response with src=/PapyrusWebJSF/faces/a4j/s/3_3_3.CR1org/richfaces/renderkit/html/css/fileUpload.xcss/DATB/eAF7sqpgb-jyGdIAFrMEaw__

      debug[10:08:20,143]: Such element exist in document

      debug[10:08:20,143]: <link> in response with src=/PapyrusWebJSF/faces/a4j/s/3_3_3.CR1org/richfaces/renderkit/html/css/progressBar.xcss/DATB/eAF7sqpgb-jyGdIAFrMEaw__

      debug[10:08:20,144]: Such element exist in document

      debug[10:08:20,144]: call selectSingleNode for id= org.ajax4jsf.queue_script

      debug[10:08:20,144]: Update page part from call parameter for ID newDocumentForm:newDocFileUpload

      debug[10:08:20,145]: call selectSingleNode for id= newDocumentForm:newDocFileUpload

      debug[10:08:20,147]: Replace content of node by outerHTML()

       

      Any idea? Thanks in advance.