Previous Topic: dtlReadonlyNext Topic: dtlStart


dtlShowtext

The dtlShowtext macro displays plain text on the form without any label or header that is associated with the text. This macro lets you do the following activities:

This macro has the following properties:

argumts=string

Specifies the arguments that are passed to the fmtmsg format function.

colspan=1|number

Specifies the number of columns on the form.

dataclass=pageHeader|hdr|required|alertmsg|className

Specifies the CSS class that is applied to displayed text.

fmtmsg=string

Specifies the name of the function to format the text for display. The arguments for this function are specified in the argumts parameter. The function must return a text string that is the value displayed.

keeplinks=yes|no

Specifies whether HTML links (Action: tags) are displayed as links or formatted as raw text. Preserves HTML links when the text to display contains HTML links. The default value is no.

keeptags=yes|no

Specifies whether HTML tags are interpreted as HTML links or formatted as raw text. keeptags=yes overrides the keeplinks property.

showbarimg=yes|no

Specifies whether to display a bar image below the text.

value=text

(Required) Specifies the value to display. The value can be associated to an attribute.

Example: dtlShowtext

NX_ROOT\bopcfg\www\htmpl\web\analyst\detaikl_pri_cal.htmpl file uses the following macro:

<PDM_MACRO name=dtlShowtext colspan=6 dataclass=hdr value="Priority Calculation Options">

Colspan

Specifies the number of field columns we want to span.

Dataclass

Specifies the css we want to apply for the text.

Value

Specifies the displayed text value.