Used by CGI scripts to dump TEXT (can be multi-line) to current output.
The following parameters are recognized:
The text to be dumped.
Example of using the macro:
if [ ! -f "${CONFIG}" ]; then @bashCgiOut("@warningMessage("Missing config file ${CONFIG}!")") fi
Assuming the com.ccg.macros.at.All
class is within your CLASSPATH
and the
config/bash.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/bash.at",,"d")
if [ ! -f "${CONFIG}" ]; then @bashCgiOut("@warningMessage("Missing config file ${CONFIG}!")") fi
EOF
This macro is defined as:
@bashCgiOutBegin() @param(0) @bashCgiOutEnd()