actionstatus in Visualforce or Popup "Spinner".


Action status is usually used to show the status of an Ajax Process to which it is related to. It can be as simple as showing text during the update the page and showing a loading gif.

<apex:page controller="AccountFiltctr">
  <apex:actionStatus id="ProgStatusId" rendered="{!actionstatusrendered}">
             <apex:facet name="start">
             <div class="waitingSearchDiv" id="el_loading" style="background-color: #fbfbfb;height: 100%;opacity:0.65;width:100%;"> 
             <div class="waitingHolder" style="top: 74.2px; width: 91px;">
             <img class="waitingImage" src="/img/loading.gif" title="Please Wait..." />
             <span class="waitingDescription">Please Wait...</span>
             </div>
             </div>
             </apex:facet>                           

           </apex:actionStatus>
<apex:form id="frm">
    <apex:commandButton value="Test" status="ProgStatusId" reRender="pb1"/>
</apex:form>
</apex:page>





Cheers!!!


0 comments:

Post a Comment