Inserts multi-line text, breaking it into individual lines according to a mode. Commonly used to properly display the data provided by a user via the TextArea component.


This component has now been deprecated in favor of the additional functionality added to the Insert component.

See also: org.apache.tapestry.html.InsertText , org.apache.tapestry.html.InsertTextMode , TextArea


Name Type Required Default Description
value string yes The multi-line string to render.
mode InsertTextMode no BREAK Controls how each line is rendered.
raw boolean no false If true, then output is not filtered for HTML entities. Used when the value parameter contains markup that should be rendered as-is.

Body: removed

Informal parameters: forbidden

Reserved parameters: none

The value parameter is split into multiple lines, and each line is printed. The default mode renders a <br/> tag between lines (that is, before each line after the first line output). The alternate mode renders <p> and </p> tags around each line.

The OGNL expression @org.apache.tapestry.html.InsertTextMode@PARAGRAPH can be used to specify paragraph rendering mode.