Send your remarks, comments or wishes to doc team
Subject:
Message:
Your name:
Your email:

JBoss.org Community Documentation

- Prev
- Next

## 6.34. < rich:editor >

### 6.34.1. Description

The <rich:editor> component is used for creating a WYSIWYG editor on a page.

Figure 6.41. <rich:editor> component

### 6.34.2. Key Features

- Seam text support

- Properties customization via configuration files

- Possibility to use custom plug-ins

Table 6.127. rich : editor attributes

Attribute Name | Description
--- | ---
autoResize | Attribute enables to get the Editor area to resize to the boundaries of the contents.
binding | The attribute takes a value-binding expression for a component property of a backing bean
configuration | Attribute defines configuration properties file name
converter | Id of Converter to be used or reference to a Converter
converterMessage | converterMessage
customPlugins | Attribute defines property file name witch contains descriptors of custom plugins
dialogType | Attribute defines how dialogs/popups should be opened
height | Attribute defines height of component.
id | Every component may have a unique id that is automatically created if omitted
immediate | A flag indicating that this component value must be converted and validated immediately (that is, during Apply Request Values phase), rather than waiting until a Process Validations phase
language | Attribute defines Editor language
onchange | Attribute enables to specify a function name to be executed each time content is modified by TinyMCE.
oninit | Attribute defines a function name to be executed when all Editor instances have finished their initialization.
onsave | Attribute enables to add custom logic to be executed when the contents is extracted/saved.
onsetup | Attribute enables to add events to Editor instances before they get rendered.
plugins | Attribute defines Editor plugins
readonly | Attribute defines Editor is readonly
rendered | If "false", this component is not rendered
required | If "true", this component is checked for non-empty input
requiredMessage | requiredMessage
skin | Attribute defines Editor skin
style | CSS style(s) is/are to be applied when this component is rendered
styleClass | Corresponds to the HTML class attribute
tabindex | Attribute enables you to specify an element ID to focus, when the user pressed the tab key inside the editor. You can also use the special ":prev" and ":next" values. It will then places the focus on either the previous or next input element placed before/after the TinyMCE instance in the DOM.
theme | Attribute defines Editor theme
useSeamText | Attribute defines if model value should be converted to Seam Text
validator | MethodBinding pointing at a method that is called during Process Validations phase of the request processing lifecycle, to validate the current value of this component
validatorMessage | validatorMessage
value | The current value of this component
valueChangeListener | Listener for value changes
viewMode | Attribute defines if tinyMCE WYSIWYG should be disabled
width | Attribute defines width of component.

- Prev6.33. < rich:datascroller >
- Top of page
- Front page
- Next6.35. < rich:columns >