| WaitPanel |
The WaitPanel is a popin that can mask the rest of the page; it is commonly used to wait for AJAX resources.
The following sections describe attributes, child elements, and parent elements.
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 |
Element | Description |
|---|---|
any xhtml of xsl tag | The content to be displayed in the popin |
Element | Description |
|---|---|
any xhtml or xsl tag |
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>
<acs:WaitPanel id="waiting"> <img src="{$root}img/proceeding.png"/> </acs:WaitPanel>