sourceforge > tacos
 

HtmlArea

A rich-text editor that substitutes Tapestry's TextArea component. For a similar component that is able to work outside of forms, take a look at InlineEditor.

Parameters

Name Type Direction Required Default Description
value String in / out yes   The value to read and update.
displayName String in no   Name for linked Label component.
mode String in no normal The toolbar items to include in the editor.
  • compact: Text format only
  • normal: All indentation and formating
  • extended: Adds the control buttons
Instead of specifying one of the above, you can instead define the exact items you want visible.
Also see the items parameter of InlineEditor.
id String in no   The html id of the rendered textarea.
disabled boolean in no   If true, then the disabled attribute will be written on render, and the HtmlArea will not update its value parameter when the form is submitted.
validators Array or collection of Validator, or Validator in no   The validators to apply to the value of this component.
translator Translator in no translator:string The translator to apply to the value of this component.

Body: not allowed

Informal parameters: allowed

Reserved parameters: name