action status in visualforce

Action status is used to display the status of AJAX request. Following is an example for action status:-
Visualforce Page

<apex:page controller="actionstatusDemoController">
 <apex:form >
   <apex:pageblock id="pgblck">
     <apex:actionStatus id="actstatus" >
        <apex:facet name="start" >
          <img src="/img/loading32.gif" />                    
     <apex:commandButton value="Submit" status="actstatus" action="{!demomethod}" reRender="pgblck"/>



Public with sharing class actionstatusDemoController {
 Public actionstatusDemoController(){

 Public void demomethod(){


1 comment:

  1. Hi,
    Plz solve this.
    How to hide a set of records for a particular user.
    Ex: hiding 50 records among 100 records for a particular user.