@wuiNstScriptRef(SCRIPT_NAME, [TEXT])

Inserts a link into body of text to show a "decorated" link to help for a specific NST script.

The following parameters are recognized:

SCRIPT_NAME

The name of the script to display the help for.

[TEXT]

Optional label to be displayed (defaults to script name if omitted).

Example of using the macro:

@wuiNstScriptRef("urlcache")

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")
@wuiNstScriptRef("urlcache")
EOF

This macro is defined as:

<a
   @htmlAttr("class","nstScript")@ifEqual("@param(3)",,"
   @htmlAttr("onmouseover","domTT_activate(this, event, 'content', unescape('View the @encodeFormParam("'<span") @encodeFormParam("class=\"ttCommand\">")@param(0)@encodeFormParam("</span>'") man page in a new @encodeFormParam("<span") @encodeFormParam("class=\"ttNote\">")Tab@encodeFormParam("</span>") / @encodeFormParam("<span") @encodeFormParam("class=\"ttNote\">")Window@encodeFormParam("</span>").'), 'width', '400')")
   @htmlAttr("target","_blank")","
   @param(2)")
   @htmlAttr("href","/nstwui/cgi-bin/system/script_help.cgi?script=@param(0)")>@fnb("@param(1)","@param(0)")</a>