Binding Data to a Control
Binding expressions are the means by which you bind data to controls. JSF binding expressions take the following form:
#{name_of managed_bean.property}
Properties can have sub-properties, in which case a binding expression might have a more complex form, such as this:
#{name_of managed_bean.property.subproperty1.subproperty2}
![*](icon_task_xpe.png)
To bind data to a control
1. In the UI Development perspective, in an open Web or portlet application project, drag the view with the property to the design canvas.
2. In the design canvas, select the control to receive a binding expression.
3. Click the Properties view, click Expression Binding
next to the property. 4. In the Expression Binding wizard, expand the Page Bean node, select the data to bind to the control, and then click OK.
The resulting binding expression displays in the field associated with the property.
Related Topics