Wednesday, September 15, 2010

"Undo changes" Java codes

To implement a cancel edit button on an view object iterator which has changed data in cache, simple java codes can be used. The script is extracted from Frank's ADF code corner series 06 - "How to cancel an edit form, undoing changes in Java".

The script is put in the managed bean of the cancel button, either in ActionListener or Action beans. The example is in the ActionListener.

No comments: