Time for action – adding a Commit button to the UI page
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. ...
Get Oracle ADF 11gR2 Development Beginner's Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.