Class RenderModel

All Implemented Interfaces:
Model

public class RenderModel extends AbstractActionModel
Model support for render actions.

Requests that the next view render a fragment of content. Multiple fragments may be specified using a comma delimiter.

Author:
Scott Andrews
  • Constructor Details

    • RenderModel

      public RenderModel(String fragments)
      Create a render action model
      Parameters:
      fragments - the fragments to render
  • Method Details

    • createCopy

      public Model createCopy()
      Description copied from interface: Model
      Create a deep copy of this model. Needed when merging models and collections.
      Returns:
      a deep copy of this model
    • getFragments

      public String getFragments()
      Returns:
      the fragments
    • setFragments

      public void setFragments(String fragments)
      Parameters:
      fragments - the fragments to set