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 :

Was this post helpful?