cx.ath.matthew.cgi
public class HTMLForm extends Object
| Constructor Summary | |
|---|---|
| HTMLForm(String target) | |
| HTMLForm(String target, String submitlabel) | |
| HTMLForm(String target, String submitlabel, String tableclass) | |
| Method Summary | |
|---|---|
| void | addField(Field field)
Add a field to be displayed in the form.
|
| void | display(CGI cgi)
Shows the form. |
| void | setGET(boolean enable)
Set GET method rather than POST |
Parameters: target The module to submit to
Parameters: target The module to submit to submitlabel The string to display on the submit button
Parameters: target The module to submit to submitlabel The string to display on the submit button tableclass The class= parameter for the generated table
Parameters: field A Field subclass.
Parameters: cgi The CGI instance that is handling output
Parameters: enable Enable/Disable GET