tiles
Tag insertDefinition
Insert a definition.
Insert a definition with the possibility to override and specify parameters
(called attributes). A definition can be seen as a (partially or totally)
filled template that can override or complete attribute values.
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 name
tag attribute, for inserting a definition
from definitions factory.
Example :
Tag Information |
Tag Class | org.apache.tiles.jsp.taglib.InsertDefinitionTag |
TagExtraInfo Class | None |
Body Content | scriptless |
Display Name | None |
Attributes |
Name | Required | Request-time | Type | Description |
name | true | true | java.lang.String |
The name of the definition to render.
|
template | false | true | java.lang.String |
If specified, this template will be used instead of the
one used by the definition.
|
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 definition
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.