Begins a table intended to contain @trLabeled() entries.
The following parameters are recognized:
Optional attributes other than "align", "cellspacing" and "class".
Example of using the macro:
@tableLabeledBegin("@htmlAttr("style","width: 90%;")") @trLabeled("Server","@tdLabeled("@wuiInputText("dbhost","${QUERY_dbhost:-"127.0.0.1"}","256","80")")") @trLabeled("Port","@tdLabeled("@wuiInputText("dbport","${QUERY_dbport:-"6666"}","256","80")")") @tableLabeledEnd()
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")
@tableLabeledBegin("@htmlAttr("style","width: 90%;")") @trLabeled("Server","@tdLabeled("@wuiInputText("dbhost","${QUERY_dbhost:-"127.0.0.1"}","256","80")")") @trLabeled("Port","@tdLabeled("@wuiInputText("dbport","${QUERY_dbport:-"6666"}","256","80")")") @tableLabeledEnd()
EOF
This macro is defined as:
<table @htmlAttr("class","labeledRow") @htmlAttr("cellspacing","0") @htmlAttr("align","center")@ifEqual("@param(0)",,," @param(0)")>