Inserts text note for a specific input field.
The following parameters are recognized:
The note to be displayed.
Optional note message label (defaults to: "Note:" if omitted).
The width of the LABEL field, default: "10%".
The width of the TEXT field, default: "90%".
Example of using the macro:
@wuiInputText("lines","80")
<br>
@wuiInputNote("Specify @bold("all") to see entire file","Notes:")
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")@wuiInputText("lines","80") <br> @wuiInputNote("Specify @bold("all") to see entire file","Notes:")EOF
This macro is defined as:
@htmlEntity("table","<tr>
@htmlEntity("td","@bold("@fnb("@param(1)","Note:") ")","@htmlAttr("class","inputnote")@htmlAttr("width","@fnb("@param(2)","10%")")@htmlAttr("valign","top")")
@htmlEntity("td","@param(0)","@htmlAttr("class","inputnote")@htmlAttr("align","left")@htmlAttr("width","@fnb("@param(3)","90%")")")
</tr>","@htmlAttr("border","0")@htmlAttr("cellpadding","0")@htmlAttr("cellspacing","0")@htmlAttr("width","100%")@htmlAttr("summary","Input field Note")")