Panel - Group Box - Group
This compound component is used to layout other components. It aligns all components it contains into a table with a specified number of columns.
Properties and All Attributes views
The Properties view for a component shows the most common set of attributes you can set on a component, and, depending on the component, you might also see options for adding controls, actions, or other components. To open the Properties view, click
Window | Show View | Properties.
These common attributes for the Group component display on the h:panelGroup and Items tabs in the Properties view. See the Panel - Group attributes table for a list of attributes. Additional configuration options for panel items are on the h:panelGroup>Items tab:
Table 1. Panel - Group configuration options Configuration option
Description
Order of items in the panel
Allows you to specify the order of components within the panel, using the Move Up and Move Down buttons.
The All Attributes view shows a table of all the attributes you can set on a component, which includes those attributes you can access from the Properties view. To switch to the All Attributes view, click the
All Attributes icon in the upper right corner of the Properties view.
Table 2. Panel - Group attributes Attribute name
Description
binding
An expression that binds the component's instance (usually a user interface component) to a bean property (usually in the backing file).
id
Assigns a name to a component. Should be a unique name within a JSP.
rendered
Can be set to true or false:
- false - Component will not be rendered to the browser at runtime.
- true - Component will get rendered. This is the default value.
style
Specifies CSS style information for the component (for example, style="font-size : 8pt ; color : red"). Defines the properties (such as font and color) of the selected component. This may be done manually, or by clicking the button and selecting the desired properties from within the window.
styleClass
Space-separated list of CSS style classes to be applied when this element is rendered. This value must be passed through as the class attribute on generated markup. Defines the classes (such as style sheets) of the selected component. This may be done manually, or by clicking the button and selecting the desired Classes from within the window.