Inserts HTML attributes in <input> entity for WUI radio button.
The following parameters are recognized:
The name to assign to the radio button.
Optional value to associate with the radio button (what the CGI script will look for).
Optional title attribute to appear as a tooltip to the user when their mouse hovers over the radio button.
Example of using the macro:
<input @wuiInputRadioAttr("level","9") />
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 @wuiInputRadioAttr("level","9") />
EOF
This macro is defined as:
@htmlAttr("class","wuiInputRadio") @htmlAttr("type","radio") @htmlAttr("name","@param(0)") @toolTipAttr("@param(2)") @htmlAttr("value","@param(1)")