Used by CGI scripts start dumping TEXT out to web browser.
Example of using the macro:
@bashCgiOutBegin() @warningMessage("Missing config file ${CONFIG}!") @bashCgiOutEnd()
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")
@bashCgiOutBegin() @warningMessage("Missing config file ${CONFIG}!") @bashCgiOutEnd()
EOF
This macro is defined as:
cat << BASH_CGI_OUT_EOF