@wuiNstScriptLink(SCRIPT_NAME, [TEXT])

Inserts a link into the WUI to show help for a specific NST script and display it in a new tab/window.

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:

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

This macro is defined as:

<a@htmlAttr("href","/nstwui/cgi-bin/system/script_help.cgi?script=@param(0)")@htmlAttr("onmouseover","domTT_activate(this, event, 'content', '@jsn("Display") documentation for @jstc("NST Script","@toolTipEmphasis()"): @jsdh("@param(0)")', 'width', calcDomTTLen('@param(0)', 270));")@htmlAttr("target","_blank")>@fnb("@param(1)","@param(0)")</a>