Appears in: <component>
Binds a parameter of an embedded component to a static value. The value, which is stored as a string, is specified as the value attribute, or as the wrapped contents of the <static-binding> tag. Leading and trailing whitespace is removed.
In an instantiated component, bindings can be accessed with the OGNL expression bindings.name.
Figure C.32. <static-binding> Attributes
Name | Type | Required ? | Default Value | Description |
---|---|---|---|---|
name | string | yes | The name of the parameter to bind. | |
value | string | no | The string value to be used. If omitted, the wrapped character data is used instead (which is more convienient if the value is large, or contains problematic punctuation). |