Interface ViewPreparer

  • All Known Implementing Classes:
    UrlPreparer

    public interface ViewPreparer

    Executed prior to rendering a view.

    A view preparer is typically used to provide last minute translations of the data within the attribute context. A preparer is not intended to replace the controller within an MVC architecture.

    See
    • <insert>
    • <definition>
    >
    Version:
    $Rev: 1310865 $ $Date: 2012-04-08 07:01:22 +1000 (Sun, 08 Apr 2012) $
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void execute​(org.apache.tiles.request.Request tilesContext, AttributeContext attributeContext)
      Method associated to a tile and called immediately before the tile is included.
    • Method Detail

      • execute

        void execute​(org.apache.tiles.request.Request tilesContext,
                     AttributeContext attributeContext)
        Method associated to a tile and called immediately before the tile is included.
        Parameters:
        tilesContext - Current tiles application context.
        attributeContext - Current tile context.
        Throws:
        PreparerException - If something goes wrong during execution.