You see the Properties window for a Property Sheet component when you select the component on a page that you are editing in the Visual Designer. Alternatively, you can select this component in the
.
This JavaServer Faces 1.2 component has the following properties.
General
id. Type: String
The name of the Property Sheet component in the page bean and the JSP file. In the page bean, the component is represented by a PropertySheet object.
Appearance
jumpLinks. Type: boolean
If selected, links to the sections are added to the top of the property sheet and links back to the top of the page are added to the end of each section.
requiredFields. Type: String
Setting this property to true displays a short description of the Required Fields icon at the top of the property sheet. The icon itself displays to the left of a Property component's label and indicates that the user must enter data for that component.
The following link shows a sample Property Sheet component with required fields:
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.
If you add a CSS style class from the current theme to your project CSS file and you redefine the style class, the change affects all components that use this style class. However, you can add your own style classes to the project CSS file that redefine the default style classes, and then when you add them to this property, the changes affect only this instance of this 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 Property Sheet is to be rendered and processed on any subsequent page submission. If not selected, the property sheet does not appear on the page at all, not even as a hidden component. If this property is not selected (false), it overrides the rendered properties of its Property Sheet Section and Property components.