Interface FormDriven<T extends Form>

Type Parameters:
T - Class that accepts form data.
All Superinterfaces:
com.opensymphony.xwork2.ModelDriven<T>, org.apache.struts2.ModelDriven<T>
All Known Implementing Classes:
AbstractFormDrivenActionSupport

public interface FormDriven<T extends Form> extends com.opensymphony.xwork2.ModelDriven<T>
Interface indicating Struts 2 action accepts form data into a form object and describes how the form should be handled in workflow.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns whether the user's request was rejected, such as form data itself is invalid, an update rejected by the back-end or zero query results with zero results not allowed.

    Methods inherited from interface org.apache.struts2.ModelDriven

    getModel
  • Method Details

    • formValidationFailed

      boolean formValidationFailed()
      Returns whether the user's request was rejected, such as form data itself is invalid, an update rejected by the back-end or zero query results with zero results not allowed. This is usually defined as the presence of any error messages.