| Package | Description |
|---|---|
| org.apache.tiles |
The Tiles taglib and framework allows building web pages by assembling reusable
pieces of pages, called Tiles.
|
| org.apache.tiles.preparer |
"View preparers" are objects that allows the "preparation" of a Tiles artifact
(definition, template or attribute) before it is rendered.
It is useful, for example, when a view item should be built and stored in a particular context (e.g. |
| Modifier and Type | Class and Description |
|---|---|
class |
BasicAttributeContext
Basic implementation for
AttributeContext. |
class |
Definition
A definition, i.e.
|
| Modifier and Type | Method and Description |
|---|---|
AttributeContext |
TilesContainerWrapper.getAttributeContext(org.apache.tiles.request.Request request) |
AttributeContext |
TilesContainer.getAttributeContext(org.apache.tiles.request.Request request)
Retrive the attribute context of the current request.
|
AttributeContext |
TilesContainerWrapper.startContext(org.apache.tiles.request.Request request) |
AttributeContext |
TilesContainer.startContext(org.apache.tiles.request.Request request)
Starts a new context, where attribute values are stored independently
from others.
When the use of the contexts is finished, call TilesContainer.endContext(Request) |
| Modifier and Type | Method and Description |
|---|---|
void |
BasicAttributeContext.inherit(AttributeContext parent)
Copies all missing attributes from the
parent attribute
context to this one. |
void |
AttributeContext.inherit(AttributeContext parent)
Copies all missing attributes from the
parent attribute
context to this one. |
void |
BasicAttributeContext.inheritCascadedAttributes(AttributeContext context)
Copies the cascaded attributes to this attribute context.
|
void |
AttributeContext.inheritCascadedAttributes(AttributeContext parent)
Copies the cascaded attributes to this attribute context.
|
| Constructor and Description |
|---|
BasicAttributeContext(AttributeContext context)
Copy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ViewPreparer.execute(org.apache.tiles.request.Request tilesContext,
AttributeContext attributeContext)
Method associated to a tile and called immediately before the tile
is included.
|
Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.