@warningMessage(TEXT, [Warning Title])

Displays a paragraph of text using the standard warning style.

The following parameters are recognized:

TEXT

The paragraph of text to be displayed.

[Warning Title]

Optional warning title: (defaults to: "Warning:" if omitted).

Example of using the macro:

@warning("This is particularily dangerous and may lock up your system!")

Assuming the com.ccg.macros.at.All class is within your CLASSPATH and the config/html.at macros file has been generated (Hint: run make atmacros in the wui directory), a developer should be able to run the above example by copy/pasting from below:

[root@probe root]# java com.ccg.macros.at.All <<EOF
@include("config/html.at",,"d")
@warning("This is particularily dangerous and may lock up your system!")
EOF

This macro is defined as:

<div@htmlAttr("class","centerBlock")><div@htmlAttr("class","warning")><fieldset><legend@htmlAttr("style","color: black; font-weight: bold; margin: 0.0em; margin-left: 0.5em; padding: 0.0em;")>&nbsp;@fnb("@param(1)","Warning")&nbsp;</legend><div@htmlAttr("style","margin: 0; padding-top: 0px; padding-bottom: 2px; padding-left: 4px; padding-right: 4px;")>@param(0)</div></fieldset></div></div>