apex:actionStatus

A component that displays the status of an AJAX update request. An AJAX request can either be in progress or complete.

Sample Code:

<apex:page >

<apex:form >
    <apex:pageBlock id="ab" >
        <apex:pageBlockSection >
            <apex:pageBlockSectionItem ><apex:commandButton value="Status" status="sts" reRender="ab"/></apex:pageBlockSectionItem>           
        </apex:pageBlockSection>
        <apex:actionStatus id="sts" startText="Loding......."/>
    </apex:pageBlock>
       
</apex:form>

</apex:page>


Output:

No comments:

Post a Comment