h:outputText | |
The outputText tag renders basic text on your JSF page. You can customize it using standard attributes of h:outputText tag. You can add styles to it. Define the logic when it will be rendered. Also, if your output text will render some HTML code from the database, in order to render it appropriately you would set escape attribute to false. Example <h:outputText value="#{yourbean.hello}" />
HTML Output Hello message of your bean!
|
Tag Attributes
binding | Expression |
The value-binding expression linking this component tag to a backing bean property. |
converter | Text |
The converter attribute sets the converter instance to be registered for this component. It must match the converter-id value of a converter element defined in your Faces configuration file. |
escape | Boolean |
The escape attribute is a boolean flag that determines if sensitive HTML and XML characters should be escaped in the ourput generated by this component. The default value for this attribute is "true". |
id | Text |
The unique identifier value for this component. The value must be unique within the closest naming container. |
rendered | Boolean |
A value-binding expression that evaluates to a Boolean condition indicating if this component should be rendered. |
style | CSS Style |
The style attribute sets the CSS style definition to be applied to this component when it is rendered. |
styleClass | CSS Class |
The styleClass attribute sets the CSS class to apply to this component when it is rendered. |
title | Text |
The title attribute is a standard HTML attribute that sets the tooltip text to display for the rendered component. |
value | Text |
The value attribute sets the current value for this component. |
Комментариев нет:
Отправить комментарий