Designing and Implementing Composite Applications : My webMethods Server portlet Reference : Page and Portlet Development : Preformatted Text Portlet
Preformatted Text Portlet
Portlet Title
Preformatted Text
Portlet Name
wm_preformattedtext
Portlet File Name
wm_preformattedtext.pdp
Top-level Folder
default
JSR168 Portlet?
No
Alias
portlet.preformattedtext
Default Instances of the portlet
None
Drawing. Page developers use this portlet to display text content using plain-text formatting.
Properties
Text (text)
Holds the text content to display in the portlet. If the property has no value, the portlet displays nothing.
Width (width)
Defines a fixed width for the panel that displays the formatted text. Specify a valid CSS width measurement, for example, 350px, 30em, or 50%. If the formatted text requires more horizontal space than the panel allows, the portlet either wraps long text or displays a horizontal scroll bar; for more information, see the Word Wrap (wordwrap) property. If the property has no value, the panel uses 100 percent of the available width.
Height (height)
Defines a fixed height for the panel that displays the formatted text. Specify a valid CSS height measurement, for example, 350px or 30em. If the formatted text requires more vertical space than the panel allows, the portlet displays a vertical scroll bar. If the property has no value, the panel grows vertically to show the entire contents without a vertical scroll bar.
Word Wrap (wordwrap)
Indicates whether to wrap long lines or to display a horizontal scroll bar. Specify one of the following:
true
Default. Wrap long lines to the next line if there is not enough horizontal space.
false
Display a horizontal scroll bar if there is not enough horizontal space.
Monospace (monospace)
Indicates whether to use a monospace font to display the formatted text. Specify one of the following:
true
Use a monospace font.
false
Default. Do not use a monospace font.
Cache Content (cacheAge)
Indicates whether to cache the formatted text. Caching the formatted text speeds up subsequent renderings of the text. Specify one of the following:
-1
Cache the formatted text.
0
Default. Do not cache the formatted text.
Copyright © 2016- 2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback