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.api.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.core.definition |
It contains classes and interfaces to allow manipulations of "definitions", i.e.
|
org.apache.tiles.core.evaluator |
Interfaces to manage attribute value evaluation.
|
org.apache.tiles.core.evaluator.impl |
Classes to manage attribute value evaluation.
|
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.locale |
Classes and interfaces to allow locale resolution in an application, i.e.
|
org.apache.tiles.core.locale.impl |
Basic implementation of the locale resolver.
|
org.apache.tiles.core.prepare.factory |
"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.core.renderer |
Interfaces to manage attribute rendering.
|
org.apache.tiles.el |
Attribute evaluator classes that can perform EL evaluation for attributes.
|
org.apache.tiles.ognl |
Attribute evaluator classes that can perform OGNL evaluation for attributes.
|
org.apache.tiles.request | |
org.apache.tiles.request.freemarker |
Support for Freemarker's Environment as a request.
|
org.apache.tiles.request.freemarker.autotag |
Runtime part of Autotag support for Freemarker.
|
org.apache.tiles.request.jsp |
Support of Tiles request in a JSP environment.
|
org.apache.tiles.request.jsp.autotag |
Runtime part of Autotag support for JavaServer pages.
|
org.apache.tiles.request.render | |
org.apache.tiles.request.servlet |
Tiles request support for Servlet technology.
|
org.apache.tiles.request.velocity |
Tiles request support for Velocity.
|
org.apache.tiles.request.velocity.autotag |
Runtime part of Autotag support for Velocity.
|
org.apache.tiles.request.velocity.render |
Renderering support for Velocity.
|
org.apache.tiles.template |
Tiles template classes, that enable to write support code for template languages (JSP, FreeMarker, Velocity).
|
org.apache.tiles.velocity.template |
Classes that allow the use of "Tiles template" as a Velocity tool.
|
Modifier and Type | Method and Description |
---|---|
Object |
StrutsAttributeEvaluator.evaluate(String expression,
Request request) |
Object |
I18NAttributeEvaluator.evaluate(String expression,
Request request) |
boolean |
StrutsFreeMarkerAttributeRenderer.isRenderable(String path,
Request request) |
protected ActionContext |
StrutsFreeMarkerAttributeRenderer.readActionContext(Request request)
Depending on how Tiles definition was defined, request can an instance of JspRequest (for JSPs)
or a ServletRequest (FreeMarker)
|
void |
StrutsFreeMarkerAttributeRenderer.render(String path,
Request request) |
Locale |
StrutsTilesLocaleResolver.resolveLocale(Request request) |
Modifier and Type | Method and Description |
---|---|
void |
TilesContainer.endContext(Request request)
Ends a context, where attribute values are stored independently of others.
It must be called after a TilesContainer.startContext(Request) call. |
void |
TilesContainerWrapper.endContext(Request request) |
Object |
TilesContainer.evaluate(Attribute attribute,
Request request)
Evaluates the given attribute.
|
Object |
TilesContainerWrapper.evaluate(Attribute attribute,
Request request) |
AttributeContext |
TilesContainer.getAttributeContext(Request request)
Retrieve the attribute context of the current request.
|
AttributeContext |
TilesContainerWrapper.getAttributeContext(Request request) |
Definition |
TilesContainer.getDefinition(String definitionName,
Request request)
Returns a definition specifying its name.
|
Definition |
TilesContainerWrapper.getDefinition(String definitionName,
Request request) |
boolean |
Attribute.isPermitted(Request request)
Checks if the current user can use this attribute.
|
boolean |
TilesContainer.isValidDefinition(String definition,
Request request)
Determine whether the definition exists.
|
boolean |
TilesContainerWrapper.isValidDefinition(String definition,
Request request) |
void |
TilesContainer.prepare(String preparer,
Request request)
Executes a preparer.
|
void |
TilesContainerWrapper.prepare(String preparer,
Request request) |
void |
TilesContainer.render(Attribute attribute,
Request request)
Render the given Attribute.
|
void |
TilesContainerWrapper.render(Attribute attribute,
Request request) |
void |
TilesContainer.render(Definition definition,
Request request)
Renders the specified definition.
|
void |
TilesContainerWrapper.render(Definition definition,
Request request) |
void |
TilesContainer.render(String definition,
Request request)
Render the given tiles request.
|
void |
TilesContainerWrapper.render(String definition,
Request request) |
void |
TilesContainer.renderContext(Request request)
Renders the current context, as it is.
|
void |
TilesContainerWrapper.renderContext(Request request) |
AttributeContext |
TilesContainer.startContext(Request request)
Starts a new context, where attribute values are stored independently of others.
When the use of the contexts is finished, call TilesContainer.endContext(Request) |
AttributeContext |
TilesContainerWrapper.startContext(Request request) |
Modifier and Type | Method and Description |
---|---|
static TilesContainer |
TilesAccess.getCurrentContainer(Request request)
Returns the current container that has been set, or the default one.
|
static void |
TilesAccess.setCurrentContainer(Request request,
String key)
Sets the current container to use in web pages.
|
static void |
TilesAccess.setCurrentContainer(Request request,
TilesContainer container)
Sets the current container to use in web pages.
|
Modifier and Type | Method and Description |
---|---|
void |
MutableTilesContainer.register(Definition definition,
Request request)
Register a new definition with the container.
|
Modifier and Type | Method and Description |
---|---|
void |
ViewPreparer.execute(Request tilesContext,
AttributeContext attributeContext)
Method associated to a tile and called immediately before the tile
is included.
|
Modifier and Type | Method and Description |
---|---|
Definition |
UnresolvingLocaleDefinitionsFactory.getDefinition(String name,
Request tilesContext)
Returns a Definition object that matches the given name and
Tiles context.
|
Definition |
DefinitionsFactory.getDefinition(String name,
Request tilesContext)
Returns a Definition object that matches the given name and
Tiles context.
|
Modifier and Type | Method and Description |
---|---|
Object |
AttributeEvaluator.evaluate(Attribute attribute,
Request request)
Evaluates an attribute value.
|
Object |
AbstractAttributeEvaluator.evaluate(Attribute attribute,
Request request)
Evaluates an attribute value.
|
Object |
AttributeEvaluator.evaluate(String expression,
Request request)
Evaluates an expression.
|
Modifier and Type | Method and Description |
---|---|
Object |
DirectAttributeEvaluator.evaluate(String expression,
Request request)
Evaluates an expression.
|
Modifier and Type | Method and Description |
---|---|
void |
BasicTilesContainer.endContext(Request request)
Ends a context, where attribute values are stored independently of others.
It must be called after a TilesContainer.startContext(Request) call. |
Object |
BasicTilesContainer.evaluate(Attribute attribute,
Request request)
Evaluates the given attribute.
|
AttributeContext |
BasicTilesContainer.getAttributeContext(Request request)
Retrieve the attribute context of the current request.
|
protected AttributeContext |
BasicTilesContainer.getContext(Request tilesContext)
Get attribute context from request.
|
protected Deque<AttributeContext> |
BasicTilesContainer.getContextStack(Request tilesContext)
Returns the context stack.
|
Definition |
BasicTilesContainer.getDefinition(String definitionName,
Request request)
Returns a definition specifying its name.
|
boolean |
BasicTilesContainer.isValidDefinition(String definitionName,
Request request)
Determine whether the definition exists.
|
protected AttributeContext |
BasicTilesContainer.popContext(Request tilesContext)
Pops a context object out of the stack.
|
void |
BasicTilesContainer.prepare(String preparer,
Request request)
Executes a preparer.
|
protected void |
BasicTilesContainer.pushContext(AttributeContext context,
Request tilesContext)
Pushes a context object in the stack.
|
void |
BasicTilesContainer.render(Attribute attr,
Request request)
Render the given Attribute.
|
void |
BasicTilesContainer.render(Definition definition,
Request request)
Renders the specified definition.
|
protected void |
BasicTilesContainer.render(Request request,
AttributeContext attributeContext)
Renders the specified attribute context.
|
void |
BasicTilesContainer.render(String definitionName,
Request request)
Render the given tiles request.
|
void |
BasicTilesContainer.renderContext(Request request)
Renders the current context, as it is.
|
AttributeContext |
BasicTilesContainer.startContext(Request request)
Starts a new context, where attribute values are stored independently of others.
When the use of the contexts is finished, call TilesContainer.endContext(Request) |
Modifier and Type | Method and Description |
---|---|
Definition |
CachingTilesContainer.getDefinition(String definition,
Request request)
Returns a definition by name.
|
boolean |
CachingTilesContainer.isValidDefinition(String definition,
Request request)
Determine whether the definition exists.
|
void |
CachingTilesContainer.register(Definition definition,
Request request)
Register a new definition with the container.
|
void |
CachingTilesContainer.render(String definition,
Request request)
Render the given tiles request.
|
Modifier and Type | Method and Description |
---|---|
Locale |
LocaleResolver.resolveLocale(Request request)
Resolves the locale.
|
Modifier and Type | Method and Description |
---|---|
Locale |
DefaultLocaleResolver.resolveLocale(Request request)
Resolves the locale.
|
Modifier and Type | Method and Description |
---|---|
ViewPreparer |
PreparerFactory.getPreparer(String name,
Request context)
Create the named {link ViewPreparer} for the specified context.
|
ViewPreparer |
BasicPreparerFactory.getPreparer(String name,
Request context)
Create a new instance of the named preparerInstance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
DefinitionRenderer.isRenderable(String path,
Request request)
Checks if this renderer can render a path.
|
void |
DefinitionRenderer.render(String path,
Request request)
Renders a path.
|
Modifier and Type | Method and Description |
---|---|
Object |
ELAttributeEvaluator.evaluate(String expression,
Request request)
Evaluates an expression.
|
Modifier and Type | Method and Description |
---|---|
Object |
OGNLAttributeEvaluator.evaluate(String expression,
Request request)
Evaluates an expression.
|
ApplicationContext |
TilesApplicationContextNestedObjectExtractor.getNestedObject(Request obj)
Extracts the nested object.
|
ognl.PropertyAccessor |
TilesContextPropertyAccessorDelegateFactory.getPropertyAccessor(String propertyName,
Request request)
Returns a prooerty accessor appropriate for the property name and the
object passed.
|
Modifier and Type | Interface and Description |
---|---|
interface |
DispatchRequest
Encapsulation of request information.
|
interface |
RequestWrapper
Delegate for ease of customization.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractClientRequest
Base class for "client" requests, i.e.
|
class |
AbstractRequest
Base request.
|
class |
AbstractViewRequest
Base class for "view" requests, i.e.
|
class |
DispatchRequestWrapper
Delegate for ease of customization.
|
Modifier and Type | Method and Description |
---|---|
Request |
RequestWrapper.getWrappedRequest()
Returns the wrapped Tiles request.
|
Modifier and Type | Class and Description |
---|---|
class |
FreemarkerRequest
The FreeMarker-specific request context.
|
Modifier and Type | Method and Description |
---|---|
Request |
FreemarkerAutotagRuntime.createRequest()
Creates a new Request instance.
|
Modifier and Type | Class and Description |
---|---|
class |
JspRequest
Context implementation used for executing tiles within a jsp tag library.
|
Modifier and Type | Method and Description |
---|---|
Request |
JspAutotagRuntime.createRequest()
Creates a new Request instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
DispatchRenderer.isRenderable(String path,
Request request)
Checks if this renderer can render a path.
|
boolean |
Renderer.isRenderable(String path,
Request request)
Checks if this renderer can render a path.
|
boolean |
ChainedDelegateRenderer.isRenderable(String value,
Request request)
Checks if this renderer can render a path.
|
boolean |
StringRenderer.isRenderable(String value,
Request request)
Checks if this renderer can render a path.
|
void |
DispatchRenderer.render(String path,
Request request)
Renders a path.
|
void |
Renderer.render(String path,
Request request)
Renders a path.
|
void |
ChainedDelegateRenderer.render(String value,
Request request) |
void |
StringRenderer.render(String value,
Request request)
Renders a path.
|
Modifier and Type | Class and Description |
---|---|
class |
ServletRequest
Servlet-based implementation of the TilesApplicationContext interface.
|
Modifier and Type | Method and Description |
---|---|
static ServletRequest |
ServletUtil.getServletRequest(Request request)
Opens a TilesRequestContext until it finds a ServletTilesRequestContext.
|
Modifier and Type | Class and Description |
---|---|
class |
VelocityRequest
The implementation of the Tiles request context specific for Velocity.
|
Modifier and Type | Method and Description |
---|---|
Request |
VelocityAutotagRuntime.createRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
VelocityRenderer.isRenderable(String path,
Request request) |
void |
VelocityRenderer.render(String path,
Request request) |
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.
|
void |
InsertAttributeModel.execute(boolean ignore,
String preparer,
String role,
Object defaultValue,
String defaultValueRole,
String defaultValueType,
String name,
Attribute value,
boolean flush,
Request request,
ModelBody modelBody)
Executes the operation.
|
void |
GetAsStringModel.execute(boolean ignore,
String preparer,
String role,
Object defaultValue,
String defaultValueRole,
String defaultValueType,
String name,
Attribute value,
Request request,
ModelBody modelBody)
Executes the operation.
|
void |
AddAttributeModel.execute(Object value,
String expression,
String role,
String type,
Request request,
ModelBody modelBody)
Executes the operation.
|
void |
PutAttributeModel.execute(String name,
Object value,
String expression,
String role,
String type,
boolean cascade,
Request request,
ModelBody modelBody)
Executes the operation.
|
void |
SetCurrentContainerModel.execute(String containerKey,
Request request)
Executes the model.
|
void |
AddListAttributeModel.execute(String role,
Request request,
ModelBody modelBody)
Executes the model.
|
void |
PutListAttributeModel.execute(String name,
String role,
boolean inherit,
boolean cascade,
Request request,
ModelBody modelBody)
Executes the model.
|
void |
ImportAttributeModel.execute(String name,
String scope,
String toName,
boolean ignore,
Request request)
Executes the model.
|
void |
InsertTemplateModel.execute(String template,
String templateType,
String templateExpression,
String role,
String preparer,
boolean flush,
Request request,
ModelBody modelBody)
Executes the operation.
|
void |
DefinitionModel.execute(String name,
String template,
String role,
String extendsParam,
String preparer,
Request request,
ModelBody modelBody)
Executes the operation.
|
void |
InsertDefinitionModel.execute(String definitionName,
String template,
String templateType,
String templateExpression,
String role,
String preparer,
boolean flush,
Request request,
ModelBody modelBody)
Executes the operation.
|
static Deque<Object> |
ComposeStackUtil.getComposeStack(Request request)
Returns the current compose stack, or creates a new one if not present.
|
Modifier and Type | Method and Description |
---|---|
protected Request |
VelocityStyleTilesTool.createVelocityRequest(javax.servlet.ServletContext servletContext,
Writer writer)
Creates a Velocity request.
|
Copyright © 2000–2024 Apache Software Foundation. All rights reserved.