First page Back Continue Last page Graphics

Binding Existing Components to Data


Binding Existing Components to Data

In the example, you have an existing button on the page, and when it is clicked you want navigation to occur, so that the user can view more than just the first record that is returned by a query. The easiest way to do this is to perform the following steps:

1. Right-click the button and select Bind to ADF Control.

2. In the Bind to ADF Control dialog box, perform the following steps:

Expand the view object instance to which the form is bound.

Expand the Operations node under that view.

Select the Next operation and click OK.

Alternatively, you can edit the appropriate property in the Property Inspector (such as Label or Value for a text item and ActionListener for a button.) You could type in the expression directly, but for some properties you can click the arrow to the right of the property and select Expression Builder from the context menu. You can then expand the ADF Bindings > bindings nodes to have access to most of the available bindings.