public abstract class FieldRefresher extends Object
Constructor and Description |
---|
FieldRefresher() |
Modifier and Type | Method and Description |
---|---|
boolean |
isSubmitValid(FormData fd)
There must be a way to figure out if the client hacked/delete/modified the
form before submitting it.
|
abstract void |
refresh(FormData fd)
Refresh the value of the field.
|
String |
toString() |
public FieldRefresher()
public abstract void refresh(FormData fd) throws IOException, SQLException
It is possible for the specified form data to be null.
fd
- the form data object, possibly null if there
is no submit data.IOException
SQLException
public boolean isSubmitValid(FormData fd)
Dependency.isSubmitDataValid(fc.web.forms.FormData)
method.
This method can be implemented to check the submitted values and return
true if the submit was valid, false otherwise.
The default implementation always returns true.