I have action function which renders multiple ids to output panels but it is not rendering all ids.
<apex:actionFunction name="insertBreJs" action="{!insertAllApiRecords}" reRender="checkApplicantDetailsBtn,checkRuleBtn,exceptionMsgBrePanel,checkApplicantResult,errorMessage" status="status" />
<apex:outputPanel id="checkApplicantResult">
<apex:outputPanel rendered="{!(errorCodeFetched!='' && errorCodeFetched!=null)}">
<p style="color:red;font-style: italic;">
<b><center>{!errorCodeFetched}</center></b>
</p>
</apex:outputPanel>
<!--<apex:outputPanel rendered="{!saveApplicantDetails}">-->
<apex:outputPanel rendered="{!isSanctionLimitZero}">
<p>
<b><center>Your loan application has been Rejected due to Zero Sanction limit.</center></b>
</p><br/>
</apex:outputPanel>
<apex:outputPanel rendered="{!OR(sanctionLimit!= null,sanctionLimit != '')}">
<apex:outputPanel rendered="{!NOT(isSanctionLimitZero)}">
<p>
<b><center>The Customer is {!preApprovedValue} with Sanction Limit {!sanctionLimit} </center></b>
</p><br/>
</apex:outputPanel>
</apex:outputPanel>
<apex:outputPanel rendered="{!papqNoDataFound}">
<p>
<b><center>No Data was found for the customer.Customer is not PreApproved Customer</center></b>
</p>
</apex:outputPanel>
<!--</apex:outputPanel>-->
</apex:outputPanel>
<apex:outputPanel id="errorMessage">
<center>
<apex:outputText id="errorMsgBREs" value="{!if(errorMsgBRE!='',errorMsgBRE,'')}"
styleClass="error" ><br/></apex:outputText>
</center>
</apex:outputPanel>
The output panel with id = 'checkApplicantResult' is getting rendered but output panel with id='errorMessage' is not getting rendered. I have even verified errorMsgBRE prints message in 'checkApplicantResult' panel and its not blank.
What may be wrong here or any workaround?