TextareaWidget

From OpenCms Wiki
Revision as of 12:32, 24 October 2016 by Paul (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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