tiles
Tag insertTemplate
Insert a template.
Insert a template with the possibility to pass parameters (called
attributes). A template can be seen as a procedure that can take parameters
or attributes. allows to define
these attributes and pass them to the inserted jsp page, called template.
Attributes are defined using nested tag
or
.
You must specify template attribute, for inserting a template
Example :
| Tag Information |
| Tag Class | org.apache.tiles.jsp.taglib.InsertTemplateTag |
| TagExtraInfo Class | None |
| Body Content | scriptless |
| Display Name | None |
| Attributes |
| Name | Required | Request-time | Type | Description |
| template | true | true | java.lang.String |
The template to render.
|
| templateType | false | true | java.lang.String |
The type of the template attribute.
|
| templateExpression | false | true | java.lang.String |
The expression to evaluate to get the value of the template.
|
| role | false | true | java.lang.String |
A comma-separated list of roles. If present, the template
will be rendered only if the current user belongs to one of the roles.
|
| preparer | false | true | java.lang.String |
The preparer to use to invoke before the definition is
rendered. If specified, it overrides the preparer specified in the
definition itself.
|
| flush | false | true | boolean |
If true, the response will be flushed after the insert.
|
| Variables |
No Variables Defined. |
Output Generated by
Tag Library Documentation Generator.
Java, JSP, and JavaServer Pages are trademarks or
registered trademarks of Sun Microsystems, Inc. in the US and other
countries. Copyright 2002-4 Sun Microsystems, Inc.
4150 Network Circle
Santa Clara, CA 95054, U.S.A.
All Rights Reserved.