tr:panelList |
|
<p>The <tr:panelList> tag displays a bulleted list of child elements. If the rows attribute is not set, then all child elements are displayed in one column, even if the maxColumns attribute is set. If the rows attribute is set and the maxColumns attribute is not set, then the number of columns is a multiple of the number of rows with the remainder making up the final column. For example, if rows is 6, children 1 to 6 are in column 1, children 7 to 12 are in column 2 and any remaining are in column 3. If the child elements number 10 and the rows is set to 3 and the maxColumns is set to 3, then 3 columns of 4 rows will be displayed. Therefore, if the maxColumns and the number of children exceeds rows, maxColumns will be used to set the number of columns.</p>
Example
<tr:panelList maxColumns="3" rows="3">
<tr:goLink text="Page1" />
<tr:goLink text="Page2" />
<tr:goLink text="Page3" />
<tr:goLink text="Page4" />
<tr:goLink text="Page5" />
<tr:goLink text="Page6" />
<tr:goLink text="Page7" />
<tr:goLink text="Page8" />
<tr:goLink text="Page9" />
<tr:goLink text="Page10" />
</tr:panelList>
Rendered Output
|