Package com.avoka.tm.func
Class FormFuncResult
java.lang.Object
com.avoka.tm.func.FuncResult
com.avoka.tm.func.FormFuncResult
Provides a Fluent form function result class.
- Since:
- 17.10.0
-
Field Summary
Modifier and TypeFieldDescriptionboolean
Commit on errorsstatic final FormFuncResult
Provides an empty form function result.final List
<ValidationError> Specify validation errors to be returned to the form.boolean
Include XML formData in response.Redirect the end user to another location (optional).Fields inherited from class com.avoka.tm.func.FuncResult
continueProcessing, data
-
Constructor Summary
-
Method Summary
Methods inherited from class com.avoka.tm.func.FuncResult
toJson
-
Field Details
-
EMPTY_RESULT
Provides an empty form function result. -
errors
Specify validation errors to be returned to the form. -
includeFormData
public boolean includeFormDataInclude XML formData in response. -
redirectUrl
Redirect the end user to another location (optional). -
commitOnErrors
public boolean commitOnErrorsCommit on errors- Since:
- 19.11.0
-
-
Constructor Details
-
FormFuncResult
public FormFuncResult()
-
-
Method Details
-
isEmpty
public boolean isEmpty()- Returns:
- true if an empty function result containing no state.
-
toString
- Overrides:
toString
in classFuncResult
- Returns:
- a string representation of the object.
-