@jsex(TEXT, [COLOR], [ID])

ToolTip example text "color" highlighting.

The following parameters are recognized:

TEXT

The ToolTip example text will be highlighted with the "COLOR" color.

[COLOR]

Optional "color" to highlight the ToolTip example text with (defaults to the tooltip "value" color).

[ID]

Optional unique "id" associated with the span element..

Example of using the macro:

      <span @toolTipAttr("My @jsex("/tmp/data")")>My Example Text</span>
    

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

      <span @toolTipAttr("My @jsex("/tmp/data")")>My Example Text</span>
    
EOF

This macro is defined as:

\\&lt;span @ifEqual("@param(2)","","","id=\\&#39;@param(2)\\&#39; ")style=\\&#39;font-family: monospace; font-weight: normal; color: @fnb("@param(1)","@toolTipValue()");\\&#39;\\&gt;@param(0)\\&lt;/span\\&gt;