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

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

Attributes
NameRequiredRequest-timeTypeDescription
templatetruetruejava.lang.String The template to render.
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 template 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.