<static-binding> element

Appears in: <component>

Binds a parameter of an embedded component to a static value. The value, which is stored as a string, is 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 B.31. <static-binding> Attributes

NameTypeRequired ?Default ValueDescription
namestringyes The name of the parameter to bind.