Knowledge Center

Knowledge Center > Zuora CPQ > Zuora CPQ Development Resources > Zuora CPQ Component Library > Zuora CPQ Global Components > StatusModal Component

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.

The following is an example of the user interface built using the StatusModal component:

Modal messagebox 01a.png

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>
Last modified

Tags

This page has no custom tags.

Classifications

(not set)