Previous Topic: New Web Macros

Next Topic: Modified Web Macros

dtlShowtext Macro Example

You can display text in any required style by passing the style class as the dataclass argument to the macro.

The following list describes the argument options:

pageheader

Displays the text as a page header.

bold

Displays the text in bold.

required

Displays the text in required class (green).

alertmsg

Displays the text as alert message, with blue text on a yellow background.

Note: You can also specify any other style class defined in the *.css files located in the \bopcfg\www\wwwroot\css directory.

This macro supports parameters that pass with the text, and the macro inserts these parameter values within the text at a specified location. For example, this macro displays the following text where 15 is the passed parameter:

(Maximum weightage: 15)