- Salesforce Development Posts of a Fashion by Matt Lacey

Back to Posts

<apex:ActionStatus> - Making It Work

Just a quick snippet today! All too often I add an <apex:actionStatus> tag to a page and find that it doesn't actually work. The quick solution in most of these cases? Make sure it's also specified in the rerender attribute of the tag that's firing the action:

<apex:actionStatus id="SaveStatus">
 <apex:facet name="start">Saving...</apex:facet>
 <apex:facet name="stop"></apex:facet>

<apex:actionSupport event="onchange" action="{!SaveProgress}" status="SaveStatus" rerender="SaveStatus"/>