JSF 1.2 Page Alert Component Properties Window
See Also
You see the Properties window for a Page Alert Component
when you select the component on a page that you are editing in the Visual Designer. Most of the component's properties are both JSP attributes and properties of the PageAlert
Java component in the page bean.
This JavaServer Faces 1.2 component has the following properties.
General
- id.
Type: String
The name of the Page Alert Component in the page bean and the JSP file.
Appearance
Data
- escape.
Type: boolean
Indicates that the message text should be escaped so that it is not interpreted by the browser.
Selecting this property causes characters like '<' that can cause problems with XML and HTML to be escaped. For example, with this property selected, '<' is represented as <
.
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, 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.
Accessibility
- alt.
type: String
The alt
text for the page alert's icon, which varies depending on the value of the type
property. The alt text describes the icon in the HTML page, is readable by screen readers, can display as a tool tip, and displays when the user has display of images turned off in the web browser.
- tabIndex.
Type: String
Optionally specifies the position of the page alert component in the tab order of the document. Determines when the page alert will get focus if the user tabs through the document. The value must be an integer between 0 and 32767.
Advanced
- rendered.
Type: boolean
If selected, the component is to be rendered. If not selected, the component doesn't appear on the page at all, not even as a hidden component. You can bind this property to a JavaBeans property that determines when the component does get rendered.
- type.
Type: String
The category of the page alert: error, warning, information, or question. The category determines the icon that displays with the page alert.
- See Also
- Page Alert Component
- Working With Components
- Component Tasks: Quick Reference
Legal Notices