Wednesday, March 26, 2014

How to programatically create a row in ADF ?

This blog outlines very basic requirement, that is how to create a row impl class programatically and sets to View object.

- Create Updatable or Transient View object and add it to Application Data Module as shown below


- Create a Java method in App Module Impl class as shown below

- Expose the above method to client interface as shown below


- Once after this method is available in client interface, you would see the method in Data Control as shown below, You can drag this method onto page or page fragment as a button/link. This will automatically creates method bindings in a page definition.


No comments:

Post a Comment