Displays a paragraph of text using the standard caution style.
The following parameters are recognized:
The paragraph of text to be displayed.
Optional caution title: (defaults to "Caution:" if omitted).
Example of using the macro:
@cautionMessage("Don't do this at all!")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")@cautionMessage("Don't do this at all!")EOF
This macro is defined as:
<div@htmlAttr("class","centerBlock")><div@htmlAttr("class","caution")><fieldset><legend@htmlAttr("style","color: black; font-weight: bold; margin: 0.0em; margin-left: 0.5em; padding: 0.0em;")> @fnb("@param(1)","Caution") </legend><div@htmlAttr("style","margin: 0; padding-top: 0px; padding-bottom: 2px; padding-left: 4px; padding-right: 4px;")>@param(0)</div></fieldset></div></div>