Inserts a header line with navigation into NST HTML document.
The following parameters are recognized:
The name of the anchor point (for internal reference).
The text to appear on the header line.
Example of using the macro:
@bashCgiOutBegin() @wuiHtmlHeader("status","Current Status") @p("Here is the current status") @bashCgiOutEnd()
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")
@bashCgiOutBegin() @wuiHtmlHeader("status","Current Status") @p("Here is the current status") @bashCgiOutEnd()
EOF
This macro is defined as:
@debug(6,"@param(1): @param(0)")@javascript("addSectionHeader("@param(1)","@param(0)","h2","@topDir()/images/","@topDir()/welcome.html");")