Package com.opensymphony.xwork2
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
-
Method Details
-
getModel
T getModel()Gets the model to be pushed onto the ValueStack instead of the Action itself.- Returns:
- the model
-