| |||||||
FRAMES NO FRAMES |
Put an attribute in enclosing attribute container tag.
Enclosing attribute container tag can be :
PutAttributeTagParent
interface. Exception is thrown if no appropriate tag can be found. Put tag can have following atributes :
Value can also come from tag body. Tag body is taken into account only if value is not set by one of the tag attributes. In this case Attribute type is "string", unless tag body define another type.
Tag Information | |
Tag Class | org.apache.tiles.jsp.taglib.PutAttributeTag |
TagExtraInfo Class | None |
Body Content | scriptless |
Display Name | None |
Attributes | ||||
Name | Required | Request-time | Type | Description |
name | true | true | java.lang.String | Name of the attribute. |
value | false | true | java.lang.Object | Attribute value. Could be a String or an Object. |
expression | false | false | java.lang.String | The expression to calculate the value from. Use this parameter, or value, or body. |
type | false | false | java.lang.String | Specify content type: string, template or definition.
|
role | false | true | java.lang.String | If the user is in the specified role, the tag is taken into account; otherwise, the tag is ignored (skipped). |
cascade | false | false | boolean | If true, the attribute value will be cascaded to nested templates and definitions. |
Variables | No Variables Defined. |
| |||||||
FRAMES NO FRAMES |