Text to appear next to a radio button.
The following parameters are recognized:
The text to be formatted.
Optional title attribute to appear as a tooltip to the user when their mouse hovers over the text.
Optional set of attributes to apply to the span entity.
This macro inserts text next to a radio button with a consistent spacing, size and coloring for the NST WUI.
Example of using the macro:
<input checked @wuiInputRadioAttr("level","9") />
@wuiInputText("Select ME!","Selecting this option will result in a lot of output")
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")<input checked @wuiInputRadioAttr("level","9") /> @wuiInputText("Select ME!","Selecting this option will result in a lot of output")EOF
This macro is defined as:
@htmlEntity("span","@param(0)","@htmlAttr("class","wuiInputRadioText")
@htmlAttr("title","@param(1)")@param(2)")