Please wait message
<apex:page standardController="Account"> <style> /* This is for the full screen DIV */ .popupBackground { /* Background color */ background-color: black; opacity: 0.20; filter: alpha(opacity = 20); /* Dimensions */ width: 100%; height: 100%; top: 0; left: 0; z-index: 998; position: absolute; /* Mouse */ cursor:wait; } /* This is for the message DIV */ .PopupPanel { /* Background color */ border: solid 1px brown; background-color: white; /* Dimensions */ left: 50%; width: 200px; margin-left: -100px; top: 50%; height: 50px; margin-top: -25px; z-index: 999; position: fixed; /* Mouse */ cursor:pointer; } </style> <apex:actionStatus id="statusSaveTrip" stopText=""> <apex:facet name="start"> <div> <div class="popupBackground" /> <div class="PopupPanel"> <table border="0" width="100%" height="100%"> <tr> <td align="center" style="color:#FFDAB9;"><b>Please Wait</b></td> </tr> <tr> <td align="center"><img src="{!$Resource.ProgressBar}"/></td> </tr> </table> </div> </div> </apex:facet> </apex:actionStatus> <apex:form id="myForm"> <apex:pageMessages /> <apex:pageBlock > <apex:pageBlockButtons location="Top"> <apex:commandButton value="Click Me" action="{!quicksave}" rerender="myForm" status="statusSaveTrip" /> </apex:pageBlockButtons> <apex:pageBlockSection > <apex:inputField value="{!Account.Name}" /> </apex:pageBlockSection> </apex:pageBlock> </apex:form> </apex:page>
Pagination using StandardSetController Counting how many fields I have available on an object