You see the Properties window for a Layout Panel component when you select the component on a page that you are editing in the Visual Designer.
A Layout Panel component is typically part of a Tab Component. You see the Layout Panel below the tab component when you add a new tab to your page, for example, by dropping a Tab Set component on a page.
This JavaServer Faces 1.2 component has the following properties.
General
id. Type: String
The name of the Layout Panel component in the page bean and the JSP file. In the page bean, the Layout Panel component is represented by a PanelLayout object.
Appearance
panelLayout. type: String
One of the following choices available in the drop down list for the property:
Grid Layout. Aligns components at the location where they were created on the panel. This is often called absolute positioning. If you are using snap to grid, each component is snapped to the nearest grid corner when it is created.
Flow Layout. Aligns components from left to right on the top line. When no more components fit, the components are lined up left to right on the next line, proceeding down the page.
style. Type: String
Cascading Style Sheet rules (CSS level 2) to be applied to the component. For example:
position: absolute; left: 288px; top: 312px
You can enter values directly or click the ellipsis (...) button to use the Style Editor.
This property overrides any settings in the theme or the project CSS file for this component. If a style specified in this property does not appear to take effect, it is because an area of the component is obscured by a child component that has different style settings.
For a list of CSS2 style attributes, see the web page at
styleClass. Type: String A space-separated list of CSS2 style classes to be applied when the component is rendered. The style classes must be defined in the project's style sheet or in the theme's CSS file. If you click the ellipsis button (...), you see a list of all styles you can add to this property. For information on adding CSS classes and rules to the project's cascading style sheet, see CSS Editor.
See the note above under the style property description for an explanation of why a class added to this property might appear to have no effect on the component.
Behavior
visible. Type: boolean
Indicates whether or not the component can be seen by the user on the rendered HTML page. This property is selected by default. If you deselect this property, the component's HTML code is rendered on the page, but the component is not visible in the browser because it is hidden by a style setting. Because the HTML code is rendered, the component can still be processed on form submissions, and users who view source in the browser can see the HTML code. In addition, your web application can use client-side JavaScript to show or hide the component.
If you need to completely hide the component, for example, because it contains sensitive information that certain users should not see, deselect the rendered property.
Advanced
rendered. Type: boolean
If selected, the component is to be rendered and processed on any subsequent page submission. If not selected, the component does not appear on the page at all, not even as a hidden component, and none of its child components appear either. If this property is not selected (false), it overrides the rendered properties of all child components.
You can bind this property to a JavaBeans property that determines when the component gets rendered. To bind this property, click the ellipsis button (...) to the right of the property and choose Use Binding in the dialog box.