@nstFileMgr(PATH, [SHOW])

Embed an NST File Manager access reference for file or directory as a span.

The following parameters are recognized:

PATH

The full path to either a file or directory for NST File Manager access.

[SHOW]

Actual access name to display (defaults to PATH).

This macro is used to provide access to the NST File Manager as a span for a file or directory on an NST WUI page.

Example of using the macro:

@nstFileMgr("/etc/hosts","hosts")

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")

@nstFileMgr("/etc/hosts","hosts")

EOF

This macro is defined as:

<span@htmlAttr("class","stat")@htmlAttr("onmouseover","Stat.showToolTip(this, event, '@param(0)')")@htmlAttr("onclick","Stat.toggleStatInfo(this, event, '@param(0)'@ifEqual("@param(1)",,,", '@param(1)'"))")>@fnb("@param(1)","@param(0)")</span>