Interface ModelDriven<T>

All Known Subinterfaces:
ScopedModelDriven<T>

public interface ModelDriven<T>
ModelDriven Actions provide a model object to be pushed onto the ValueStack in addition to the Action itself, allowing a FormBean type approach like Struts.
Author:
Jason Carreira
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the model to be pushed onto the ValueStack instead of the Action itself.
  • Method Details

    • getModel

      T getModel()
      Gets the model to be pushed onto the ValueStack instead of the Action itself.

      Please be aware that all setters and getters of every depth on the object returned by this method are available for user parameter injection!

      Returns:
      the model