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
| 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 |
|