Drag and drop an Rich Text Area component onto the page:
The Rich Text Area component looks like this on the page:
The Rich Text Area component looks like this on the page during runtime:
The Properties view for a component shows the most common set of attributes you can set on a component, and, depending on the component, you might also see options for adding controls, actions, or other components. To open the Properties view, click
.These common attributes for the Rich Text Area component display on the r:inputRichText and Behavior tabs in the Properties view. See the All Rich Text Area attributes table for a complete list of attributes.
The All Attributes view shows a table
of all the attributes you can set on a component, which includes those attributes
you can access from the Properties view. To switch to the All Attributes view,
click the All Attributes icon in the upper right
corner of the Properties view.
Attribute name |
Represented in Properties view by |
Description |
---|---|---|
binding |
Not represented |
An expression that binds the component's instance (usually a user interface component) to a bean property (usually in the backing file). |
height |
Size: Height |
Specifies the height of the component (by number of lines, pixels or percentage of the screen). |
id |
ID |
Assigns a name to a component. Should be a unique name within a JSP. |
readonly |
Control is read-only |
Specifies that the value of the component cannot be changed from its initial value. |
rendered |
Not represented |
Can be set to true or false:
|
value |
Value |
Specifies the initial text value for the component displayed at runtime. Contains information to be displayed, in the form of a specified value or a pointer to a dynamic value. |
width |
Size: Width |
Specifies the initial width of the component. The width is given in pixels except in the case of a text input component where its value refers to the number of characters. |