Used to set the table header and table data color to the dark value.
Example of using the macro:
@setEvenOddRowDark()
<table @htmlAttr("summary","Database") @htmlAttr("border","2") @htmlAttr("width","80%")>
@trEvenOdd("Database Host","
@wuiInputText("dbost","${QUERY_dbhost:-"127.0.0.1"}","256","80")
","@htmlAttr("width","20%")@htmlAttr("align","left")","@htmlAttr("width","80%")")
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")@setEvenOddRowDark() <table @htmlAttr("summary","Database") @htmlAttr("border","2") @htmlAttr("width","80%")> @trEvenOdd("Database Host"," @wuiInputText("dbost","${QUERY_dbhost:-"127.0.0.1"}","256","80") ","@htmlAttr("width","20%")@htmlAttr("align","left")","@htmlAttr("width","80%")")EOF
This macro is defined as:
@define("thEvenOddState","even","now")
@define("tdEvenOddState","even","now")