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.compat.preparer |
"View preparers" are objects that allows the "preparation" of a Tiles artifact
(definition, template or attribute) before it is rendered.
|
org.apache.tiles.context |
Classes and interfaces that allow to access the various contexts in an
application in a uniformed way.
|
org.apache.tiles.impl |
It contains the basic implementations of Tiles container.
|
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. |
org.apache.tiles.velocity.template |
Classes that allow the use of "Tiles template" as a Velocity tool.
|
org.apache.tiles.web.util |
Utility classes to use Tiles in a servlet environment.
|
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 |
TilesContainer.getAttributeContext(Object... requestItems)
Retrive the attribute context of the current request.
|
AttributeContext |
TilesContainer.startContext(Object... requestItems)
Starts a new context, where attribute values are stored independently
from others.
When the use of the contexts is finished, call TilesContainer.endContext(Object...) |
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 |
UrlPreparer.execute(TilesRequestContext tilesContext,
AttributeContext attributeContext)
Method associated to a tile and called immediately before the tile
is included.
|
Modifier and Type | Method and Description |
---|---|
static AttributeContext |
BasicAttributeContext.getContext(TilesRequestContext tilesContext)
Deprecated.
|
static AttributeContext |
BasicAttributeContext.popContext(TilesRequestContext tilesContext)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static Stack<AttributeContext> |
BasicAttributeContext.getContextStack(TilesRequestContext tilesContext)
|
Modifier and Type | Method and Description |
---|---|
static void |
BasicAttributeContext.pushContext(AttributeContext context,
TilesRequestContext tilesContext)
Deprecated.
|
Constructor and Description |
---|
BasicAttributeContext(AttributeContext context)
Deprecated.
Copy constructor.
|
Modifier and Type | Method and Description |
---|---|
AttributeContext |
BasicTilesContainer.getAttributeContext(Object... requestItems)
Retrive the attribute context of the current request.
|
protected AttributeContext |
BasicTilesContainer.getContext(TilesRequestContext tilesContext)
Get attribute context from request.
|
protected AttributeContext |
BasicTilesContainer.popContext(TilesRequestContext tilesContext)
Pops a context object out of the stack.
|
AttributeContext |
BasicTilesContainer.startContext(Object... requestItems)
Starts a new context, where attribute values are stored independently
from others.
When the use of the contexts is finished, call TilesContainer.endContext(Object...) |
Modifier and Type | Method and Description |
---|---|
protected ArrayStack<AttributeContext> |
BasicTilesContainer.getContextStack(TilesRequestContext tilesContext)
Returns the context stack.
|
Modifier and Type | Method and Description |
---|---|
protected void |
BasicTilesContainer.pushContext(AttributeContext context,
TilesRequestContext tilesContext)
Pushes a context object in the stack.
|
protected void |
BasicTilesContainer.render(TilesRequestContext request,
AttributeContext attributeContext)
Renders the specified attribute context.
|
Modifier and Type | Method and Description |
---|---|
void |
ViewPreparer.execute(TilesRequestContext tilesContext,
AttributeContext attributeContext)
Method associated to a tile and called immediately before the tile
is included.
|
void |
ViewPreparerSupport.execute(TilesRequestContext tilesContext,
AttributeContext attributeContext)
Method associated to a tile and called immediately before the tile
is included.
|
Modifier and Type | Method and Description |
---|---|
AttributeContext |
VelocityStyleTilesTool.getAttributeContext()
Returns the current attribute context.
|
AttributeContext |
VelocityStyleTilesTool.startAttributeContext()
Starts the attribute context.
|
Modifier and Type | Method and Description |
---|---|
void |
AttributeContextMutator.mutate(AttributeContext context,
javax.servlet.ServletRequest request)
Mutate a
AttributeContext . |
Copyright © 2016. All rights reserved.