| |||||||
FRAMES NO FRAMES |
Introduces new variable. Variable's scope is limited to the context of the current method, i.e. variables defined before <cdk:body> are not available after it.
Should be used within cc:implementation element.
Usage example:
<cdk:object name="children" type="List" type-arguments="UIComponent" value="#{cc.children}" />
Attributes | ||||
Name | Required | Request-time | Type | Description |
name | true | true | java.lang.String | Name of the variable, corresponding to Java identifier syntax. Examples:
|
value | false | true | java.lang.String | EL-expression specifying initial value of the variable. If this attribute is ommitted, body of the tag is used instead. Examples:
|
type | false | true | java.lang.String | Variable type name. CDK automatically resolves simple names for primitive types, JSF API classes and objects from java.lang.* or java.util.*. For parametrised types you can use java generics syntax Examples:
If type is not defined explicitly, CDK will try to infer variable type from its value. |
| |||||||
FRAMES NO FRAMES |