Skip to main content

StatusModal Component

Zuora

StatusModal Component

The StatusModal component displays a simple status message in a modal window.

The StatusModal component is available in the Versions 5.100 and later of Zuora Quotes.

StatusModal Component Attributes

The StatusModal component has the following attribute.

 Attribute Type  Required?  Default Value  Description
id String Yes n/a An identifier that allows the component to be referenced by other components in the page
rendered Boolean No true Specifies whether the component is rendered on the page. 
 statusMessage String  No     " Please wait while page loads..."  The status message to be displayed on the modal window.

Using the Component

To use the StatusModal component, integrate it with the ActionStatus component's onstart and onstop events.

<zqu:StatusModal />
<apex:actionStatus startText="" stopText="" id="saveSettings" onstart="javascript:displayStatusModal();" onstop="javascript:closeStatusModal();">
  <apex:facet name="start">
    ...
  </apex:facet>    
  <apex:facet name="stop">
    ...
  </apex:facet>      
</apex:actionStatus>