<binding> element

Appears in: <component>

Binds a parameter of an embedded component to an OGNL expression rooted in its container.

In an instantiated component, bindings can be accessed with the OGNL expression bindings.name.

Figure B.5. <binding> Attributes

NameTypeRequired ?Default ValueDescription
namestringyes The name of the parameter to bind.
expressionstringyes The OGNL expression, relative to the container, to be bound to the parameter.