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.
SeeModifier and Type | Method and Description |
---|---|
void |
execute(org.apache.tiles.request.Request tilesContext,
AttributeContext attributeContext)
Method associated to a tile and called immediately before the tile
is included.
|
void execute(org.apache.tiles.request.Request tilesContext, AttributeContext attributeContext)
tilesContext
- Current tiles application context.attributeContext
- Current tile context.PreparerException
- If something goes wrong during execution.Copyright © 2001-2017 The Apache Software Foundation. All Rights Reserved.