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.
The new definition can extends a definition described in factory (XML file), and overload
any previously defined parameters.
Attribute Name |
Description |
id |
Specifies the name under which the newly created definition bean will be saved.
[Required]
|
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.
|
template |
A string representing the URI of a tile/component/template (a JSP page).
[RT Expr]
|
page |
URL of the template / component to insert. Same as "template".
[RT Expr]
|
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.
[RT Expr]
|
extends |
Name of a parent definition that is used to initialize this new definition.
Parent definition is searched in definitions factory.
[RT Expr]
|