Uses of Interface
org.apache.tiles.api.AttributeContext
Packages that use AttributeContext
Package
Description
The Tiles taglib and framework allows building web pages by assembling reusable
pieces of pages, called Tiles.
"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.
It is useful, for example, when a view item should be built and stored in a particular context (e.g.
It contains the basic implementations of Tiles container.
Classes that allow the use of "Tiles template" as a Velocity tool.
Utility classes to use Tiles in a servlet environment.
-
Uses of AttributeContext in org.apache.tiles.api
Classes in org.apache.tiles.api that implement AttributeContextModifier and TypeClassDescriptionclass
Basic implementation forAttributeContext
.class
A definition, i.e.Methods in org.apache.tiles.api that return AttributeContextModifier and TypeMethodDescriptionTilesContainer.getAttributeContext
(Request request) Retrieve the attribute context of the current request.TilesContainerWrapper.getAttributeContext
(Request request) TilesContainer.startContext
(Request request) Starts a new context, where attribute values are stored independently of others.
When the use of the contexts is finished, callTilesContainer.endContext(Request)
TilesContainerWrapper.startContext
(Request request) Methods in org.apache.tiles.api with parameters of type AttributeContextModifier and TypeMethodDescriptionvoid
AttributeContext.inherit
(AttributeContext parent) Copies all missing attributes from theparent
attribute context to this one.void
BasicAttributeContext.inherit
(AttributeContext parent) Copies all missing attributes from theparent
attribute context to this one.void
AttributeContext.inheritCascadedAttributes
(AttributeContext parent) Copies the cascaded attributes to this attribute context.void
BasicAttributeContext.inheritCascadedAttributes
(AttributeContext context) Copies the cascaded attributes to this attribute context.Constructors in org.apache.tiles.api with parameters of type AttributeContext -
Uses of AttributeContext in org.apache.tiles.api.preparer
Methods in org.apache.tiles.api.preparer with parameters of type AttributeContextModifier and TypeMethodDescriptionvoid
ViewPreparer.execute
(Request tilesContext, AttributeContext attributeContext) Method associated to a tile and called immediately before the tile is included. -
Uses of AttributeContext in org.apache.tiles.core.impl
Methods in org.apache.tiles.core.impl that return AttributeContextModifier and TypeMethodDescriptionBasicTilesContainer.getAttributeContext
(Request request) Retrieve the attribute context of the current request.protected AttributeContext
BasicTilesContainer.getContext
(Request tilesContext) Get attribute context from request.protected AttributeContext
BasicTilesContainer.popContext
(Request tilesContext) Pops a context object out of the stack.BasicTilesContainer.startContext
(Request request) Starts a new context, where attribute values are stored independently of others.
When the use of the contexts is finished, callTilesContainer.endContext(Request)
Methods in org.apache.tiles.core.impl that return types with arguments of type AttributeContextModifier and TypeMethodDescriptionprotected Deque<AttributeContext>
BasicTilesContainer.getContextStack
(Request tilesContext) Returns the context stack.Methods in org.apache.tiles.core.impl with parameters of type AttributeContextModifier and TypeMethodDescriptionprotected void
BasicTilesContainer.pushContext
(AttributeContext context, Request tilesContext) Pushes a context object in the stack.protected void
BasicTilesContainer.render
(Request request, AttributeContext attributeContext) Renders the specified attribute context. -
Uses of AttributeContext in org.apache.tiles.velocity.template
Methods in org.apache.tiles.velocity.template that return AttributeContextModifier and TypeMethodDescriptionVelocityStyleTilesTool.getAttributeContext()
Returns the current attribute context.VelocityStyleTilesTool.startAttributeContext()
Starts the attribute context. -
Uses of AttributeContext in org.apache.tiles.web.util
Methods in org.apache.tiles.web.util with parameters of type AttributeContextModifier and TypeMethodDescriptionvoid
AttributeContextMutator.mutate
(AttributeContext context, jakarta.servlet.ServletRequest request) Mutate aAttributeContext
.