I am trying to call three action functions from one javascript method and then trying to render some blocks after each action function completes. Some times it calls all the methods and sometimes it misses one or two of them. Any ideas as to why this would happen?
EDIT
I am rerendering apex:selectList
on each method call. I am not using outputpanel
and then doing some work on complete. A javascript function call three methods :My code looks like this:
<apex:actionFunction name="RelatedObjectEditor" action="{!RelatedObject}" reRender="dropSelectFirst" status="status" oncomplete="callSeletedEditor();return false;"/>
<apex:actionFunction name="RelatedObjectEditorSecond" action="{!RelatedObject}" reRender="dropSelectSecond" status="status" oncomplete="callSeletedSecondEditor();return false;"/>
<apex:actionFunction name="RelatedObjectEditorThird" action="{!RelatedObject}" reRender="dropSelectThird" status="status" oncomplete="callSeletedThirdEditor();return false;"/>`