Inserts asterick (*) as a red superscript.
The following parameters are recognized:
The indicator to use (defaults to "*" if omitted).
Color of indicator (defaults to "red" if omitted).
Example of using the macro:
@p("@flaggedText()This is a required field.") @p("@flaggedText("^")This is a optional field.")
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")
@p("@flaggedText()This is a required field.") @p("@flaggedText("^")This is a optional field.")
EOF
This macro is defined as:
@htmlEntity("span","@fnb("@param(0)","*")","@htmlAttr("class","flaggedText")@htmlAttr("style","color: @fnb("@param(1)","red");")")