| 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.core.evaluator | Interfaces to manage attribute value evaluation. | 
| org.apache.tiles.core.impl | It contains the basic implementations of Tiles container. | 
| 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. | 
| org.apache.tiles.web.jsp.taglib | The "tiles-jsp" tag library contains tags that are useful to create
 templates, subpages other reusable view parts using the "tiles-core" package. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected 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) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | ListAttributeAn attribute as a  List. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected Attribute | BasicAttributeContext. templateAttributeThe template attribute, to render a template. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected Map<String,Attribute> | BasicAttributeContext. attributesTemplate attributes. | 
| protected Map<String,Attribute> | BasicAttributeContext. cascadedAttributesCascaded template attributes. | 
| Modifier and Type | Method and Description | 
|---|---|
| Attribute | Attribute. 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. | 
| Attribute | BasicAttributeContext. getAttribute(String name)Retrieve the named attribute, either cascaded or not. | 
| Attribute | AttributeContext. getAttribute(String name)Retrieve the named attribute, either cascaded or not. | 
| Attribute | BasicAttributeContext. getCascadedAttribute(String name)Retrieve the attribute that has been cascaded at upper levels. | 
| Attribute | AttributeContext. getCascadedAttribute(String name)Retrieve the attribute that has been cascaded at upper levels. | 
| Attribute | BasicAttributeContext. getLocalAttribute(String name)Retrieve the attribute that has been defined in this context (i.e. | 
| Attribute | AttributeContext. getLocalAttribute(String name)Retrieve the attribute that has been defined in this context (i.e. | 
| Attribute | BasicAttributeContext. getTemplateAttribute()Returns the attribute that will be used to render a template. | 
| Attribute | AttributeContext. getTemplateAttribute()Returns the attribute that will be used to render a template. | 
| Modifier and Type | Method and Description | 
|---|---|
| List<Attribute> | ListAttribute. getValue()Returns the list of the attributes that are elements of this attribute. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | ListAttribute. add(Attribute element)Add an element in list. | 
| Object | TilesContainer. evaluate(Attribute attribute,
        Request request)Evaluates the given attribute. | 
| Object | TilesContainerWrapper. evaluate(Attribute attribute,
        Request request) | 
| void | Attribute. inherit(Attribute attribute)Inherits an attribute, i.e. | 
| void | BasicAttributeContext. putAttribute(String name,
            Attribute value)Add the specified attribute. | 
| void | AttributeContext. putAttribute(String name,
            Attribute value)Add the specified attribute. | 
| void | BasicAttributeContext. putAttribute(String name,
            Attribute value,
            boolean cascade)Add the specified attribute. | 
| void | AttributeContext. putAttribute(String name,
            Attribute value,
            boolean cascade)Add the specified attribute. | 
| void | TilesContainer. render(Attribute attribute,
      Request request)Render the given Attribute. | 
| void | TilesContainerWrapper. render(Attribute attribute,
      Request request) | 
| void | BasicAttributeContext. setTemplateAttribute(Attribute templateAttribute)Sets the template attribute, that will be used to render the template
 page. | 
| void | AttributeContext. setTemplateAttribute(Attribute templateAttribute)Sets the template attribute, that will be used to render the template
 page. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | BasicAttributeContext. addAll(Map<String,Attribute> newAttributes)Add all attributes to this context. | 
| void | AttributeContext. addAll(Map<String,Attribute> newAttributes)Add all attributes to the context. | 
| void | ListAttribute. setValue(List<Attribute> attributes)Sets the list of the attributes that are elements of this attribute. | 
| Constructor and Description | 
|---|
| Attribute(Attribute attribute)Copy constructor. | 
| Definition(String name,
          Attribute templateAttribute,
          Map<String,Attribute> attributes)Constructor. | 
| Constructor and Description | 
|---|
| BasicAttributeContext(Map<String,Attribute> attributes)Constructor. | 
| Definition(String name,
          Attribute templateAttribute,
          Map<String,Attribute> attributes)Constructor. | 
| 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. | 
| AttributeEvaluator | AttributeEvaluatorFactory. getAttributeEvaluator(Attribute attribute)Creates and attribute evaluator using an attribute. | 
| AttributeEvaluator | BasicAttributeEvaluatorFactory. getAttributeEvaluator(Attribute attribute)Creates and attribute evaluator using an attribute. | 
| Modifier and Type | Method and Description | 
|---|---|
| Object | BasicTilesContainer. evaluate(Attribute attribute,
        Request request)Evaluates the given attribute. | 
| void | BasicTilesContainer. render(Attribute attr,
      Request request)Render the given Attribute. | 
| 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. | 
| 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| Attribute | VelocityStyleTilesTool. clone(Attribute attribute)Creates an attribute that is a copy of the one passed as a parameter. | 
| Attribute | VelocityStyleTilesTool. createAttribute()Creates a new empty attribute. | 
| Attribute | VelocityStyleTilesTool. createTemplateAttribute(String template)Creates an attribute that represents a template. | 
| Attribute | VelocityStyleTilesTool. get(String key)Returns an attribute. | 
| Modifier and Type | Method and Description | 
|---|---|
| Attribute | VelocityStyleTilesTool. clone(Attribute attribute)Creates an attribute that is a copy of the one passed as a parameter. | 
| org.apache.velocity.runtime.Renderable | VelocityStyleTilesTool. render(Attribute attribute)Renders an attribute. | 
| Modifier and Type | Method and Description | 
|---|---|
| Attribute | GetAsStringTag. getValue()Getter for value property. | 
| Attribute | InsertAttributeTag. getValue()Getter for value property. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | GetAsStringTag. setValue(Attribute value)Setter for value property. | 
| void | InsertAttributeTag. setValue(Attribute value)Setter for value property. | 
Copyright © 2000–2025 Apache Software Foundation. All rights reserved.