6 Replies Latest reply on Sep 18, 2013 12:05 AM by SUMIT GHOSH

    <a4j:jsFunction> not "reRendering(render)" in IE8

    SUMIT GHOSH Newbie

      In my application I have used Richfaces4.3.My problem is : I have a  <rich:popupPanel> in which there are two radio buttons<h:selectOneRadio> in the onChange event of <h:selectOneRadio> I have called a <a4j:jsFunction>.The functionality of this <a4j:jsfunction> is it will call a backing bean action method which will display a hidden <h:panelGrid> upon satisfaction of a specific condition.Initially the rendered property of <h:panelGrid> is false.I have controlled its rendered property dynamically through jsf el expression.but in IE8 this not function properly the problem is of refreshing the page.I had to refresh the page explicitly in IE8.


      here is my code:


      <rich:popupPanel id="paymentModalBox" width="712" resizeable="false" autosized="true" styleClass="#{browserDetect.userBrowser}">
          <h:form id="modalFrm">
              <a4j:region id="payRegion">
                  <h:panelGrid id="firstpay_component">
                      <h:outputText value="Apply Service Tax" />
                      <h:selectOneRadio id="taxOption"  onchange="generateTax(this.value)" styleClass="adjust_servicetax_radio">
                          <f:selectItems value="#{approveBillController.taxoptionList}"/>
                     <a4j:jsFunction name="generateTax" actionListener="#{approveBillController.evaluateTax}"   render="tax_panel" execute="@this">
                          <a4j:param name="taxOp"/>
                  <a4j:outputPanel id="tax_panel">
                      <h:panelGrid id="tax_elements" rendered="#{approveBillController.taxComponent_visibility}">
                          <h:outputText value="Service Tax Amount" />
                          <h:inputText value="#{approveBillController.currentBill.serviceTaxAmount}" id="serviceTaxId" readonly="true" />
                          <h:outputText value=""  />
                          <h:outputText value="[Calculated @ 12% on Bill Amount]" />
                          <h:outputText value="Primary Education Cess" />
                          <h:inputText value="#{approveBillController.currentBill.cessAmount}" id="cessAmtId" readonly="true"/>
                          <h:outputText value="" />
                          <h:outputText value="[Calculated @ 0.24% on Bill Amount]" />
                          <h:outputText value="SHEC Amount" />
                          <h:inputText id="shecAmountId" value="#{approveBillController.currentBill.shecAmount}" readonly="true"/>
                          <h:outputText value=""/>
                          <h:outputText value="[Calculated @ 0.12% on Bill Amount]"/>