public final class FormData extends Object
Form#handleSubmit handleSubmit}.
Modifier and Type | Method and Description |
---|---|
void |
addDynamicField(Hidden hidden)
Adds a
Hidden field to this form. |
Connection |
getConnection() |
Hidden |
getDynamicField(String fieldName)
Gets a
Hidden field added to this formdata object. |
Object |
getValidatedData(String fieldname) |
void |
putValidatedData(String fieldname,
Object obj)
Useful if strings entered by the user in the browser form are converted
to dates/times etc as part of the validation.
|
void |
setConnection(Connection con)
Sets a connection to be used during this request.
|
void |
setDependencyUpdated()
Dependencies should call this method to set the dependencyUpdated flag to
true anytime there is a dependency change.
|
String |
toString() |
public void putValidatedData(String fieldname, Object obj)
public Object getValidatedData(String fieldname)
public void setConnection(Connection con)
public Connection getConnection()
public void addDynamicField(Hidden hidden)
Hidden
field to this form. This field exists only for the
duration of this form data object. This field can be rendered.public Hidden getDynamicField(String fieldName)
Hidden
field added to this formdata object. Returns
null if that field does not exist.public void setDependencyUpdated()