Annotation Interface TilesDefinition
Represents a 
<definition> element in tiles.xml.
 
  With a sample layout in tiles.xml like this:
  
      <definition name="layout" template="/WEB-INF/tiles/layout.jsp">
          <put-attribute name="header" value=".header"/>
          <put-attribute name="body" value=".body"/>
      </definition>
  
 
 You can annotate an action like that:
      @Result(name = "success", type="tiles")
      @TilesDefinition(extend = "layout", putAttributes = {
          @TilesPutAttribute(name = "header", value = "/WEB-INF/tiles/header.jsp"),
          @TilesPutAttribute(name = "body", value = "/WEB-INF/tiles/body.ftl")
      })
      public class FooAction extends ActionSupport {
  
 - 
Optional Element SummaryOptional ElementsModifier and TypeOptional ElementDescription
- 
Element Details- 
extendString extend- Default:
- ""
 
- 
nameString name- Default:
- ""
 
- 
preparerString preparer- Default:
- ""
 
- 
roleString role- Default:
- ""
 
- 
templateString template- Default:
- ""
 
- 
templateExpressionString templateExpression- Default:
- ""
 
- 
templateTypeString templateType- Default:
- ""
 
- 
putAttributesTilesPutAttribute[] putAttributes- Default:
- {}
 
- 
putListAttributesTilesPutListAttribute[] putListAttributes- Default:
- {}
 
 
-