JBoss.orgCommunity Documentation

6.34.  < rich:editor >

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


Table 6.127. rich : editor attributes

Attribute NameDescription
autoResizeAttribute enables to get the Editor area to resize to the boundaries of the contents.
bindingThe attribute takes a value-binding expression for a component property of a backing bean
configurationAttribute defines configuration properties file name
converterId of Converter to be used or reference to a Converter
converterMessageconverterMessage
customPluginsAttribute defines property file name witch contains descriptors of custom plugins
dialogTypeAttribute defines how dialogs/popups should be opened
heightAttribute defines height of component.
idEvery component may have a unique id that is automatically created if omitted
immediateA 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
languageAttribute defines Editor language
onchangeAttribute enables to specify a function name to be executed each time content is modified by TinyMCE.
oninitAttribute defines a function name to be executed when all Editor instances have finished their initialization.
onsaveAttribute enables to add custom logic to be executed when the contents is extracted/saved.
onsetupAttribute enables to add events to Editor instances before they get rendered.
pluginsAttribute defines Editor plugins
readonlyAttribute defines Editor is readonly
renderedIf "false", this component is not rendered
requiredIf "true", this component is checked for non-empty input
requiredMessagerequiredMessage
skinAttribute defines Editor skin
styleCSS style(s) is/are to be applied when this component is rendered
styleClassCorresponds to the HTML class attribute
tabindexAttribute 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.
themeAttribute defines Editor theme
useSeamTextAttribute defines if model value should be converted to Seam Text
validatorMethodBinding pointing at a method that is called during Process Validations phase of the request processing lifecycle, to validate the current value of this component
validatorMessagevalidatorMessage
valueThe current value of this component
valueChangeListenerListener for value changes
viewModeAttribute defines if tinyMCE WYSIWYG should be disabled
widthAttribute defines width of component.