This project has retired. For details please refer to its Attic page.
insertDefinition (Tiles - JSP support Tag library documentation)

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 Classorg.apache.tiles.jsp.taglib.InsertDefinitionTag
TagExtraInfo ClassNone
Body Contentscriptless
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
nametruetruejava.lang.String The name of the definition to render.
templatefalsetruejava.lang.String If specified, this template will be used instead of the one used by the definition.
templateTypefalsetruejava.lang.String The type of the template attribute.
templateExpressionfalsetruejava.lang.String The expression to evaluate to get the value of the template.
rolefalsetruejava.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.
preparerfalsetruejava.lang.String The preparer to use to invoke before the definition is rendered. If specified, it overrides the preparer specified in the definition itself.
flushfalsetrueboolean 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.