@ttNSTDirBrowser(DIRECTORY, [WIDTH], [TITLE], [DIRTITLE], [DIRFILTERTITLE], [DIRFILTER], [FILEFILTERTITLE], [FILEFILTER])

Inserts a domTT tooltip for displaying a directory using the "NST Directory Browser".

The following parameters are recognized:

DIRECTORY

Directory path name.

[WIDTH]

Optional width in "pixels" for the tooltip (defaults to "400" if omitted).

[TITLE]

Optional title override: "'Browse' the 'Contents' of this directory:".

[DIRTITLE]

Optional directory title override: "Directory".

[DIRFILTERTITLE]

Optional directory filter title override: "Directory Filter".

[DIRFILTER]

Optional directory filter value override: ".* *".

[FILEFILTERTITLE]

Optional file filter title override: "FILE Filter".

[FILEFILTER]

Optional file filter value override: ".* *".

Example of using the macro:

      
        This is the NST system log file: <span@ttNSTFileViewer("/var/log/messages","300")>/var/log/messages</span>
      
    

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

      
        This is the NST system log file: <span@ttNSTFileViewer("/var/log/messages","300")>/var/log/messages</span>
      
    
EOF

This macro is defined as:

@domTTAttr("@ifEqual("@param(2)","","@ttLine1px("@ttEmphasis("Browse","false") the @ttNote("Contents") of this directory:")","@param(2)")@tableTTBegin()@tableTTRow("@ifEqual("@param(3)","","Directory","@param(3)")","@param(0)","true")@tableTTRow("@ifEqual("@param(4)","","Directory&nbsp;Filter","@param(4)")","@fnb("@param(5)",".* *")","false")@tableTTRow("@ifEqual("@param(6)","","File&nbsp;Filter","@param(6)")","@fnb("@param(7)",".* *")","false")@tableTTEnd()","@param(1)")