tiles
Tag definition


Create a tile /component / template definition bean.

Create a tile/component/template definition as a bean. Newly created bean will be saved under specified "id", in the requested "scope". Definition tag has same syntax as insert



Tag Information
Tag Classorg.apache.struts.tiles.taglib.DefinitionTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
id

Specifies the name under which the newly created definition bean will be saved.

 
Required: true
Request-time: false
Type: java.lang.String
scope

Specifies the variable scope into which the newly defined bean will be created. If not specified, the bean will be created in page scope.

 
Required: false
Request-time: false
Type: java.lang.String
template

A string representing the URI of a tile/component/template (a JSP page).

 
Required: false
Request-time: false
Type: java.lang.String
page

URL of the template / component to insert. Same as "template".

 
Required: false
Request-time: false
Type: java.lang.String
role

Role to check before inserting this definition. If role is not defined for current user, definition is not inserted. Checking is done at insert time, not during definition process.

 
Required: false
Request-time: false
Type: java.lang.String
extends

Name of a parent definition that is used to initialize this new definition. Parent definition is searched in definitions factory.

 
Required: false
Request-time: false
Type: java.lang.String

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.