|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD | |||||||
public interface Form
Represents the model portion of the HTML <form&gh; element. It does not represent any information related to the structure of the HTML document (for example, there is no id or name property), or any visual information.
| Method Summary | |
|---|---|
String
|
getAction()
Returns the url that should be used when the form is submitted. |
String
|
getBaseUrl()
Returns the base url. |
Encoding
|
getEncoding()
Returns the Encoding used with this Form. |
Input
|
getInput(String name)
Gets the |
Input[]
|
getInputs()
Gets the array of Inputs for this |
Method
|
getMethod()
Gets the HTTP Method to use when the form is submitted. |
| Method Detail |
|---|
public String getAction()
public String getBaseUrl()
public Encoding getEncoding()
public Input getInput(String name)
Input with the given name. If more than one
Input has this name, it is unspecified which will be returned.
Input with the given name. May be null.
public Input[] getInputs()
Form.
Inputs. The ordering of elements in
this array is not guaranteed.
public Method getMethod()
Method to use on submit.
Groovy Documentation