| StackPanel |
The StackPanel is a group of panel stacked on one another.
The following sections describe attributes, child elements, and parent elements.
Attribute | Description |
|---|---|
id | unique identifier for this group of panels |
Name | Description |
|---|---|
A panel in the group |
Element | Description |
|---|---|
any xhtml or xsl tag |
The XHTML structure created by the acs:StackPanel is the following:
<div id="{@id}" class="stackPanel"> <ul> <li class="acs-stack-header"> <span id="{@id}-stackbutton-{position}" class="button"> @label </span> </li> <li id="{@id}-stack-{position}" class="stack"> <!-- panel content --> </li> </ul> </div>
<acs:StackPanel id="mystack"> <acs:Panel label="My first panel"> This is the first panel of the stack </acs:Panel> <acs:Panel label="My second panel"> This is the second panel of the stack </acs:Panel> </acs:StackPanel>