This project has retired. For details please refer to its Attic page.
ViewPreparer (Tiles 2 2.0.7 API)

org.apache.tiles.preparer
Interface ViewPreparer

Package class diagram package ViewPreparer
All Known Implementing Classes:
ViewPreparerSupport

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 >

Version:
$Rev: 529551 $ $Date: 2007-04-17 12:42:50 +0200 (Tue, 17 Apr 2007) $

Method Summary
 void execute(TilesRequestContext tilesContext, AttributeContext attributeContext)
          Method associated to a tile and called immediately before the tile is included.
 

Method Detail

execute

void execute(TilesRequestContext tilesContext,
             AttributeContext attributeContext)
             throws PreparerException
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.


Copyright © 2001-2008 Apache Software Foundation. All Rights Reserved.