| |||||||
FRAMES NO FRAMES |
Use the webuijsf:panelGroup
tag to display a group of components
that are separated by a common separator. This is often useful for
providing a consistently formatted layout of a group of components.
The PanelGroup component defines and renders a group of components.
The group of components are defined in the body of thewebuijsf:panelGroup
tag, or by specifying children of the
PanelGroup component. The child components do not have to be
of like type. The separator is defined by the separator
property, or the separator
facet. The separator may be
an empty string, a space, text / character(s), markup, or a component
defined by the separator
facet.
By default the PanelGroup component is rendered with a<span>
surrounding the group of child components.
This may be changed to a <div>
by setting theblock
property to true
.
PanelGroup is a NamingContainer.
Not Applicable
Not Applicable
<webuijsf:panelGroup id="myPanelGroup1">
<webuijsf:button id="button1" text="Button 1" />
<webuijsf:button id="button2" text="Button 2" />
<webuijsf:button id="button3" text="Button 3" />
<webuijsf:button id="button4" text="Button 4" />
</webuijsf:panelGroup>
separator
attribute to specify '|' (pipe) as the separator.<webuijsf:panelGroup id="myPanelGroup2" separator=" | ">
<webuijsf:button id="button1" text="Button 1" />
<webuijsf:button id="button2" text="Button 2" />
<webuijsf:button id="button3" text="Button 3" />
<webuijsf:button id="button4" text="Button 4" />
</webuijsf:panelGroup>
separator
facet to specify the separator. This example also demonstrates theblock
property.<webuijsf:panelGroup id="myPanelGroup3" block="true">
<facet name="separator">
<h:outputText value="==" />
</f:facet>
<webuijsf:button id="button1" text="Button 1" />
<webuijsf:button id="button2" text="Button 2" />
<webuijsf:button id="button3" text="Button 3" />
<webuijsf:button id="button4" text="Button 4" />
</webuijsf:panelGroup>
Tag Information | |
Tag Class | com.sun.webui.jsf.component.PanelGroupTag |
TagExtraInfo Class | None |
Body Content | JSP |
Display Name | None |
Attributes | ||||
Name | Required | Request-time | Type | Description |
binding | false | false | java.lang.String | A ValueExpression that resolves to the UIComponent that corresponds to this tag. This attribute allows the Java bean that contains the UIComponent to manipulate the UIComponent, its properties, and its children. |
styleClass | false | false | java.lang.String | CSS style class(es) to be applied to the outermost HTML element when this component is rendered. |
separator | false | false | java.lang.String | The string of characters or HTML element that should be inserted between each component that is a child of this component. To specify an HTML element, use the character entities < and > to produce the < and > characters. You can use a block element such as <p> or <br> to force each component to be rendered on a separate line. If the separator attribute is not specified, the components are rendered with a single space between them. |
visible | false | false | java.lang.String | Use the visible attribute to indicate whether the component should be viewable by the user in the rendered HTML page. If set to false, the HTML code for the component is present in the page, but the component is hidden with style attributes. By default, visible is set to true, so HTML for the component HTML is included and visible to the user. If the component is not visible, it can still be processed on subsequent form submissions because the HTML is present. |
style | false | false | java.lang.String | CSS style(s) to be applied to the outermost HTML element when this component is rendered. |
rendered | false | false | java.lang.String | Use the rendered attribute to indicate whether the HTML code for the component should be included in the rendered HTML page. If set to false, the rendered HTML page does not include the HTML for the component. If the component is not rendered, it is also not processed on any subsequent form submission. |
id | false | true | java.lang.String | No Description |
block | false | false | java.lang.String | By default, the panelGroup component is rendered on the same line as the component that comes before it and the component that follows, in a flow layout. If the block attribute is set to true, the panelGroup component is rendered on its own line. The components before it and after it are on different lines. The block attribute has no effect on the panelGroup component's children. |
Variables | No Variables Defined. |
| |||||||
FRAMES NO FRAMES |