TextareaWidget

From OpenCms Wiki
Jump to: navigation, search

Description

TextareaWidget allows plaintext input over multiple lines. Otherwise equivalent to StringWidget.

This widget is typically employed for elements with type="OpenCmsString".

The user input is not filtered and may include html markup.

Configuration

The only configuration option is the number of lines. The default is 4 lines.

<xsd:schema ...>
  ...
  <element name="MyElement" type="OpenCmsString" />
  ...
  <layout element="MyElement" widget="TextareaWidget" configuration="2" />
  ...
</xsd:schema>
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox