Tuesday, January 12, 2010

JDev/ADF sample - Auto Commit Use Case in Oracle ADF 11g Table Component

  • Auto Commit Use Case in Oracle ADF 11g Table Component. It happens to develop such screens, where users can browse through table rows, select any row and using related form update selected row data. Thinking from pure end-user approach, when data table contains many columns, sometimes its easier to edit row data in separate form. Everything is fine with this approach, however there is one thing that can be confusing to the end-user. Let's say, user is editing row data and then suddenly selects another row from the table, without saving changes from previous row. In such way, user can end up with changes in many rows and will loose track what should be saved and what reverted. This use case is from real life. In order to avoid user confusion with changes in multiple rows, I have developed sample application. This application implements read-only table and editable form, which brings data from currently selected row. Main trick - if user will edit data from selected row and will select another row without saving or reverting his changes, changes will be saved automatically - this will allow end-user to keep track of his changes easier.
    Download - TableAutoCommit.zip

No comments: