- Salesforce Development Posts by Matt Lacey

<apex:ActionStatus> - Making It Work

Posted 2011-05-02

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"/>