Here is the snippet to display processing image on button click in visualforce page. You can view the list of icons from this link.
Sample Code:
Sample Code:
- <apex:page>
- <apex:form>
- <apex:commandButton value="Save" reRender="processing" status="processing" /> <br/>
- <apex:actionStatus id="processing">
- <apex:facet name="start">
- <apex:outputPanel >
- Processing...
- <img src="/img/loading.gif" />
- </apex:outputPanel>
- </apex:facet>
- </apex:actionStatus>
- </apex:form>
- </apex:page>
No comments:
Post a Comment