You need to sign in to do that
Don't have an account?
lopezc
actionstatus stoptext not working
HI,
I want to display the stop text when the AJAX request completes but it is showing when loading the page (even before pressing the button). I can't see why, any ideas?
<apex:page showheader="false" controller="RequestDetailsViewController" standardStylesheets="false"> <apex:form > <apex:pageBlock > <apex:pageBlockSection title="Request Details"> <pre><span>{!description}</span></pre> </apex:pageBlockSection> <apex:pageBlockSection > <apex:outputPanel styleclass="button"> <apex:actionStatus id="process1" startText="(processing..)" stoptext="done"/> <apex:commandButton value=" Approve " action="{!approveRequest}" status="process1"/> <apex:actionStatus id="process2" startText="(processing..)"/> <apex:commandButton value=" Reject " action="{!rejectRequest}" status="process2"/> </apex:outputPanel> </apex:pageBlockSection> </apex:pageBlock> </apex:form> </apex:page>
We faced the similar problem, though we are using some overlay on ajax request. So we are using onstop attribute for this.
show(), hide() methods show the DIV for Ajax Status.