Inserts table data (td) using the "labeledRow" class.
The following parameters are recognized:
The data to be displayed in cell.
Optional attributes for the <td> entity created.
Example of using the macro:
<tr> @thLabeled("Server") @tdLabeled("@wuiInputText("dbhost","${QUERY_dbhost:-"127.0.0.1"}","256","80")") </tr>
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")
<tr> @thLabeled("Server") @tdLabeled("@wuiInputText("dbhost","${QUERY_dbhost:-"127.0.0.1"}","256","80")") </tr>
EOF
This macro is defined as:
<td @param(1)@htmlAttr("class","labeledRow")>@param(0)</td>