Now we will see how we can
expose the built-in Commit
operation to the UI using the data control layer:
In the Data controls palette, as shown in the following screenshot, navigate to EmpDirectoryModuleDataControl:
Under the EmpDirectoryModuleDataControl option, expand the Operations section and select the Commit operation as shown in the preceding screenshot.
Drag this operation to the
index.jspx
page in the Source view and place it just after the</af:table>
tag.Select the ADF Button option from the menu displayed. This action will create a Commit button to save the changes to the database.
The page definition for the
index.jspx
file is accessed by clicking on the Bindings section for the page.