| | | | |
| Item 1
Item 2
Item 3
Item 4
Item 5 |
| | | | |
| |
Sumary
The panelGroupLayout control is a layout element that arranges its children in one of a few simple patterns.
Each pair of adjacent children will be separated by an optional separator child.
It can lay out children consecutively (wrapping as needed), or in a single horizontal line, or vertically."/>
Code samples
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:tr="http://myfaces.apache.org/trinidad"
template="/pages/componentDemo.xhtml">
<ui:define name="demoContent">
<tr:panelGroupLayout layout="default">
<f:facet name="separator">
<div style="border: 1px solid #CBC3BE; margin-top: 4px; margin-bottom: 4px;"/>
</f:facet>
<tr:outputText value="Item 1"/>
<tr:outputText value="Item 2"/>
<tr:outputText value="Item 3"/>
<tr:outputText value="Item 4"/>
<tr:outputText value="Item 5"/>
</tr:panelGroupLayout>
</ui:define>
</ui:composition>