Package | Description |
---|---|
org.apache.struts2.tiles | |
org.apache.tiles.api |
The Tiles taglib and framework allows building web pages by assembling reusable
pieces of pages, called Tiles.
|
org.apache.tiles.api.access |
Tiles access package.
|
org.apache.tiles.api.mgmt |
Classes and interfaces to be used when it is needed to create Tiles definitions
during the execution of the application.
|
org.apache.tiles.core.factory |
Factory classes, to allow creation of container instances.
|
org.apache.tiles.core.impl |
It contains the basic implementations of Tiles container.
|
org.apache.tiles.core.impl.mgmt |
It contains the basic implementations of mutable Tiles containers.
|
org.apache.tiles.core.renderer |
Interfaces to manage attribute rendering.
|
org.apache.tiles.core.startup |
Classes to start the Tiles engine up.
|
org.apache.tiles.template |
Tiles template classes, that enable to write support code for template languages (JSP, FreeMarker, Velocity).
|
Modifier and Type | Method and Description |
---|---|
TilesContainer |
StrutsTilesContainerFactory.createDecoratedContainer(TilesContainer originalContainer,
ApplicationContext applicationContext) |
Modifier and Type | Method and Description |
---|---|
TilesContainer |
StrutsTilesContainerFactory.createDecoratedContainer(TilesContainer originalContainer,
ApplicationContext applicationContext) |
protected Renderer |
StrutsTilesContainerFactory.createDefaultAttributeRenderer(BasicRendererFactory rendererFactory,
ApplicationContext applicationContext,
TilesContainer container,
AttributeEvaluatorFactory attributeEvaluatorFactory) |
protected void |
StrutsTilesContainerFactory.registerAttributeRenderers(BasicRendererFactory rendererFactory,
ApplicationContext applicationContext,
TilesContainer container,
AttributeEvaluatorFactory attributeEvaluatorFactory) |
Modifier and Type | Class and Description |
---|---|
class |
TilesContainerWrapper
Wraps a Tiles container to allow easy decoration.
|
Modifier and Type | Field and Description |
---|---|
protected TilesContainer |
TilesContainerWrapper.container
The container to wrap.
|
Constructor and Description |
---|
TilesContainerWrapper(TilesContainer container)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static TilesContainer |
TilesAccess.getContainer(ApplicationContext context)
Returns default the container to be used in the application.
|
static TilesContainer |
TilesAccess.getContainer(ApplicationContext context,
String key)
Returns the container to be used in the application registered under a specific key.
|
static TilesContainer |
TilesAccess.getCurrentContainer(Request request)
Returns the current container that has been set, or the default one.
|
Modifier and Type | Method and Description |
---|---|
static void |
TilesAccess.setContainer(ApplicationContext context,
TilesContainer container,
String key)
Configures the container to be used in the application.
|
static void |
TilesAccess.setCurrentContainer(Request request,
TilesContainer container)
Sets the current container to use in web pages.
|
Modifier and Type | Interface and Description |
---|---|
interface |
MutableTilesContainer
Defines a mutable version of the TilesContainer.
|
Modifier and Type | Method and Description |
---|---|
TilesContainer |
BasicTilesContainerFactory.createContainer(ApplicationContext applicationContext)
Creates a Tiles container.
|
abstract TilesContainer |
AbstractTilesContainerFactory.createContainer(ApplicationContext applicationContext)
Creates a Tiles container.
|
protected TilesContainer |
BasicTilesContainerFactory.createDecoratedContainer(TilesContainer originalContainer,
ApplicationContext context)
Instantiate the container that will be injected to child objects.
|
Modifier and Type | Method and Description |
---|---|
protected TilesContainer |
BasicTilesContainerFactory.createDecoratedContainer(TilesContainer originalContainer,
ApplicationContext context)
Instantiate the container that will be injected to child objects.
|
protected Renderer |
BasicTilesContainerFactory.createDefaultAttributeRenderer(BasicRendererFactory rendererFactory,
ApplicationContext applicationContext,
TilesContainer container,
AttributeEvaluatorFactory attributeEvaluatorFactory)
Creates the default attribute renderer.
|
protected Renderer |
BasicTilesContainerFactory.createDefinitionAttributeRenderer(BasicRendererFactory rendererFactory,
ApplicationContext applicationContext,
TilesContainer container,
AttributeEvaluatorFactory attributeEvaluatorFactory)
Creates a
Renderer using a DefinitionRenderer . |
protected RendererFactory |
BasicTilesContainerFactory.createRendererFactory(ApplicationContext applicationContext,
TilesContainer container,
AttributeEvaluatorFactory attributeEvaluatorFactory)
Creates a renderer factory.
|
protected Renderer |
BasicTilesContainerFactory.createStringAttributeRenderer(BasicRendererFactory rendererFactory,
ApplicationContext applicationContext,
TilesContainer container,
AttributeEvaluatorFactory attributeEvaluatorFactory)
Creates an attribute renderer to render strings.
|
protected Renderer |
BasicTilesContainerFactory.createTemplateAttributeRenderer(BasicRendererFactory rendererFactory,
ApplicationContext applicationContext,
TilesContainer container,
AttributeEvaluatorFactory attributeEvaluatorFactory)
Creates a
Renderer that uses a DispatchRenderer . |
protected void |
BasicTilesContainerFactory.registerAttributeRenderers(BasicRendererFactory rendererFactory,
ApplicationContext applicationContext,
TilesContainer container,
AttributeEvaluatorFactory attributeEvaluatorFactory)
Registers attribute renderers in a
BasicRendererFactory . |
Modifier and Type | Class and Description |
---|---|
class |
BasicTilesContainer
Basic implementation of the tiles container interface.
|
Modifier and Type | Class and Description |
---|---|
class |
CachingTilesContainer
Manages custom and configured definitions, so they can be used by the
container, instead of using a simple
DefinitionsFactory . |
Constructor and Description |
---|
CachingTilesContainer(TilesContainer originalContainer)
Constructor.
|
Constructor and Description |
---|
DefinitionRenderer(TilesContainer container)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected TilesContainer |
AbstractTilesInitializer.createContainer(ApplicationContext context)
Creates a Tiles container.
|
Modifier and Type | Method and Description |
---|---|
Attribute |
DefaultAttributeResolver.computeAttribute(TilesContainer container,
Attribute attribute,
String name,
String role,
boolean ignore,
Object defaultValue,
String defaultValueRole,
String defaultValueType,
Request request)
Computes the attribute.
|
Attribute |
AttributeResolver.computeAttribute(TilesContainer container,
Attribute attribute,
String name,
String role,
boolean ignore,
Object defaultValue,
String defaultValueRole,
String defaultValueType,
Request request)
Computes the attribute.
|
Copyright © 2000–2024 Apache Software Foundation. All rights reserved.