You can drag the Standard JavaServer Faces Output Text component from
the Palette to the Visual Designer to provide instructions, titles,
headings, and similar text information for your pages.
Use this Standard component rather than the Standard Component Label component for simple text areas like headings and information. The Standard Component Label component is used for attaching a label to a component, like a text entry field (Text Field component) or a checkbox.
After dragging the component to the Visual Designer, you can do a number of things with it:
Text
initially displayed for this component
is a placeholder that goes away when the component is rendered.
If you want a default label to appear in your application,
you must add one either by typing in the component, editing
the value property, or binding the component to a database
or object that supplies the default value.id
attribute. In the page bean, this property's
value is the name of the HtmlOutputText
object.value
property to a data provider or an object so your application can evaluate it when the page is submitted. For more information, see Bind to Data Dialog Box.