My webMethods Server 10.5 | My webMethods Server Webhelp | My webMethods Server Portlet Reference | Page and Portlet Development | HTML Text Portlet
 
HTML Text Portlet
Portlet Title
HTML Text
Portlet Name
wm_htmltext
Portlet File Name
wm_htmltext.pdp
Top-level Folder
system
JSR168 Portlet?
No
Alias
portlet.htmltext
Default Instances of the portlet
None
Drawing. Page developers use this portlet to display a fragment of static HTML on a page. When configuring the portlet, the page developer can either specify the HTML text to display or indicate how to retrieve the HTML text from a resource bundle, for example, for language pack localization.
Writable Text Properties
Text (HTMLText)
Holds the HTML text to display. Specify the static HTML that you want the portlet to display. When you specify a value for Text (HTMLText), the portlet ignores values in the Resource Bundle Class Name (resourceBundleClass) and Resource Bundle Key (resourceBundleKey) properties.
If neither this property nor the Resource Bundle Class Name (resourceBundleClass) and Resource Bundle Key (resourceBundleKey) have values, the portlet displays nothing.
Resource Message Arguments (resourceMsgArgs )
This property specifies a comma-separated value (CSV) to be used in the referenced resource string. For example:
Copyright {0} - {1}
where the arguments are 2006,2013. This follows the same Javadoc as String.format().
Read-only Localizable Text Properties
Resource Bundle Class Name (resourceBundleClass)
Identifies the resource bundle that contains the HTML to display. Specify the name of the resource bundle. When you specify this property, you must also specify a value for the Resource Bundle Key (resourceBundleKey) property.
The portlet ignores this property if you specify a value for the Text (HTMLText) property. If you do not specify a value for this property, the portlet either displays the HTML defined by the Text (HTMLText) property or nothing.
Resource Bundle Key (resourceBundleKey)
Identifies the HTML text within the resource bundle that you want the portlet to display. Specify the key of the HTML text. When you specify this property, you must also specify a value for the Resource Bundle Class Name (resourceBundleClass) property.
The portlet ignores this property if you specify a value for the Text (HTMLText) property. If you do not specify a value for this property, the portlet either displays the HTML defined by the Text (HTMLText) property or nothing.