Class FormFuncResult


  • public class FormFuncResult
    extends FuncResult
    Provides a Fluent form function result class.
    Since:
    17.10.0
    • Field Detail

      • EMPTY_RESULT

        public static final FormFuncResult EMPTY_RESULT
        Provides an empty form function result.
      • errors

        public final List<ValidationError> errors
        Specify validation errors to be returned to the form.
      • includeFormData

        public boolean includeFormData
        Include XML formData in response.
      • redirectUrl

        public String redirectUrl
        Redirect the end user to another location (optional).
      • commitOnErrors

        public boolean commitOnErrors
        Commit on errors
        Since:
        19.11.0
    • Constructor Detail

      • FormFuncResult

        public FormFuncResult()
    • Method Detail

      • isEmpty

        public boolean isEmpty()
        Returns:
        true if an empty function result containing no state.
      • toString

        public String toString()
        Overrides:
        toString in class FuncResult
        Returns:
        a string representation of the object.