How to duplicate a Row programmatically in Oracle ADF?

Duplicating a table row is often one of the first requirement added on big customer tables in an Oracle ADF application.

To do so, add a column at the start of your row with a “duplicate” button containing an action listener as follow:

... actionListener="#{YOUR_SCOPE.YOUR_BEAN.duplicateRowLine}" ...

In this Action Event, you will need to copy each attribute into a new row and add the row into the ViewObject.

Here is how to do so :

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to Top