Inserts a centered WUI style button to continue to another PAGE.
The following parameters are recognized:
The location to jump to if not current page (typically relative URL).
The label to put on the button, defaults to "Continue" if omitted.
List of hidden key/values using @wuiInputHidden()
Title text for mouse over.
Optional set of attributes to apply to input entity.
Note: This inserts an ENTIRE centered <form> entity into the HTML output, resulting in a single, centered button in the NST WUI style.
Example of using the macro:
@p("Press the button below to review results.") @wuiContinueButton("snort.cgi")
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")
@p("Press the button below to review results.") @wuiContinueButton("snort.cgi")
EOF
This macro is defined as:
<center><form@htmlAttr("action","@param(0)")> @wuiInputButton("continue","@fnb("@param(1)","Continue")","@param(3)","@param(4)") @param(2)</form></center>