Click or drag to resize
WaitPanel

The WaitPanel is a popin that can mask the rest of the page; it is commonly used to wait for AJAX resources.

Attributes and elements

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute

Description

id

unique identifier for the div of the popin

masking

true or false; if true, the page is grayed by a masking div

relative

by default, the popin is centered in the page; if this attribute is defined, the popin is positioned relatively to the node whose id is equal to relative

Child elements

Element

Description

any xhtml of xsl tag

The content to be displayed in the popin

Parent elements

Element

Description

any xhtml or xsl tag

Styling information

The XHTML structure created by the acs:WaitPanel is the following:

<div id="{@id}" class="wait invisible">
  <!-- content of the popin -->
</div>
<!-- if masking=true -->
<iframe src="javascript:false;" id="{@id}_wait" class="wait-glass invisible" allowtransparency="true" frameborder="no"></iframe>
Examples
<acs:WaitPanel id="waiting">
  <img src="{$root}img/proceeding.png"/>
</acs:WaitPanel>