Uses of Class
org.apache.tiles.api.Attribute
Packages that use Attribute
Package
Description
The Tiles taglib and framework allows building web pages by assembling reusable
pieces of pages, called Tiles.
Interfaces to manage attribute value evaluation.
It contains the basic implementations of Tiles container.
Tiles template classes, that enable to write support code for template languages (JSP, FreeMarker, Velocity).
Classes that allow the use of "Tiles template" as a Velocity tool.
The "tiles-jsp" tag library contains tags that are useful to create
templates, subpages other reusable view parts using the "tiles-core" package.
-
Uses of Attribute in org.apache.struts2.tiles
Methods in org.apache.struts2.tiles that return AttributeModifier and TypeMethodDescriptionprotected Attribute
StrutsTilesAnnotationProcessor.buildAddAttribute
(TilesAddAttribute addAttribute) protected Attribute
StrutsTilesAnnotationProcessor.buildAddListAttribute
(TilesAddListAttribute addListAttribute) protected Attribute
StrutsTilesAnnotationProcessor.buildPutAttribute
(TilesPutAttribute putAttribute) protected Attribute
StrutsTilesAnnotationProcessor.buildPutListAttribute
(TilesPutListAttribute putListAttribute) protected Attribute
StrutsTilesAnnotationProcessor.buildTemplateAttribute
(TilesDefinition tilesDef) -
Uses of Attribute in org.apache.tiles.api
Subclasses of Attribute in org.apache.tiles.apiFields in org.apache.tiles.api declared as AttributeModifier and TypeFieldDescriptionprotected Attribute
BasicAttributeContext.templateAttribute
The template attribute, to render a template.Fields in org.apache.tiles.api with type parameters of type AttributeModifier and TypeFieldDescriptionBasicAttributeContext.attributes
Template attributes.BasicAttributeContext.cascadedAttributes
Cascaded template attributes.Methods in org.apache.tiles.api that return AttributeModifier and TypeMethodDescriptionAttribute.copy()
static Attribute
Attribute.createTemplateAttribute
(String template) Creates a template attribute, starting from the name of the template.static Attribute
Attribute.createTemplateAttribute
(String template, String templateExpression, String templateType, String role) Creates a template attribute, starting from the name of the template.AttributeContext.getAttribute
(String name) Retrieve the named attribute, either cascaded or not.BasicAttributeContext.getAttribute
(String name) Retrieve the named attribute, either cascaded or not.AttributeContext.getCascadedAttribute
(String name) Retrieve the attribute that has been cascaded at upper levels.BasicAttributeContext.getCascadedAttribute
(String name) Retrieve the attribute that has been cascaded at upper levels.AttributeContext.getLocalAttribute
(String name) Retrieve the attribute that has been defined in this context (i.e.BasicAttributeContext.getLocalAttribute
(String name) Retrieve the attribute that has been defined in this context (i.e.AttributeContext.getTemplateAttribute()
Returns the attribute that will be used to render a template.BasicAttributeContext.getTemplateAttribute()
Returns the attribute that will be used to render a template.Methods in org.apache.tiles.api that return types with arguments of type AttributeModifier and TypeMethodDescriptionListAttribute.getValue()
Returns the list of the attributes that are elements of this attribute.Methods in org.apache.tiles.api with parameters of type AttributeModifier and TypeMethodDescriptionvoid
Add an element in list.Evaluates the given attribute.void
Inherits an attribute, i.e.void
AttributeContext.putAttribute
(String name, Attribute value) Add the specified attribute.void
AttributeContext.putAttribute
(String name, Attribute value, boolean cascade) Add the specified attribute.void
BasicAttributeContext.putAttribute
(String name, Attribute value) Add the specified attribute.void
BasicAttributeContext.putAttribute
(String name, Attribute value, boolean cascade) Add the specified attribute.void
Render the given Attribute.void
void
AttributeContext.setTemplateAttribute
(Attribute templateAttribute) Sets the template attribute, that will be used to render the template page.void
BasicAttributeContext.setTemplateAttribute
(Attribute templateAttribute) Sets the template attribute, that will be used to render the template page.Method parameters in org.apache.tiles.api with type arguments of type AttributeModifier and TypeMethodDescriptionvoid
Add all attributes to the context.void
Add all attributes to this context.void
Sets the list of the attributes that are elements of this attribute.Constructors in org.apache.tiles.api with parameters of type AttributeModifierConstructorDescriptionCopy constructor.Constructor.Constructor parameters in org.apache.tiles.api with type arguments of type AttributeModifierConstructorDescriptionBasicAttributeContext
(Map<String, Attribute> attributes) Constructor.Constructor. -
Uses of Attribute in org.apache.tiles.core.evaluator
Methods in org.apache.tiles.core.evaluator with parameters of type AttributeModifier and TypeMethodDescriptionEvaluates an attribute value.Evaluates an attribute value.AttributeEvaluatorFactory.getAttributeEvaluator
(Attribute attribute) Creates and attribute evaluator using an attribute.BasicAttributeEvaluatorFactory.getAttributeEvaluator
(Attribute attribute) Creates and attribute evaluator using an attribute. -
Uses of Attribute in org.apache.tiles.core.impl
Methods in org.apache.tiles.core.impl with parameters of type Attribute -
Uses of Attribute in org.apache.tiles.template
Methods in org.apache.tiles.template that return AttributeModifier and TypeMethodDescriptionAttributeResolver.computeAttribute
(TilesContainer container, Attribute attribute, String name, String role, boolean ignore, Object defaultValue, String defaultValueRole, String defaultValueType, Request request) Computes the attribute.DefaultAttributeResolver.computeAttribute
(TilesContainer container, Attribute attribute, String name, String role, boolean ignore, Object defaultValue, String defaultValueRole, String defaultValueType, Request request) Computes the attribute.Methods in org.apache.tiles.template with parameters of type AttributeModifier and TypeMethodDescriptionAttributeResolver.computeAttribute
(TilesContainer container, Attribute attribute, String name, String role, boolean ignore, Object defaultValue, String defaultValueRole, String defaultValueType, Request request) Computes the attribute.DefaultAttributeResolver.computeAttribute
(TilesContainer container, Attribute attribute, String name, String role, boolean ignore, Object defaultValue, String defaultValueRole, String defaultValueType, Request request) Computes the attribute.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
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. -
Uses of Attribute in org.apache.tiles.velocity.template
Methods in org.apache.tiles.velocity.template that return AttributeModifier and TypeMethodDescriptionCreates an attribute that is a copy of the one passed as a parameter.VelocityStyleTilesTool.createAttribute()
Creates a new empty attribute.VelocityStyleTilesTool.createTemplateAttribute
(String template) Creates an attribute that represents a template.Returns an attribute.Methods in org.apache.tiles.velocity.template with parameters of type Attribute -
Uses of Attribute in org.apache.tiles.web.jsp.taglib
Methods in org.apache.tiles.web.jsp.taglib that return AttributeModifier and TypeMethodDescriptionGetAsStringTag.getValue()
Getter for value property.InsertAttributeTag.getValue()
Getter for value property.Methods in org.apache.tiles.web.jsp.taglib with parameters of type Attribute