This discussion is archived
4 Replies Latest reply: Jul 21, 2011 7:54 AM by VikramBailur RSS

ADF Master Form / Detail editable table : how to update the table ?

Christophe Newbie
Currently Being Moderated
Hello,

I'm using ADF faces with entity objects.
Here is a simple explanation of the model :
Table DOCUMENT --> Table LINE
A DOCUMENT can have 0 or several row in the LINE table. Model is quite simple.

I'd like to create JSF pages to create and update DOCUMENT/LINE items.

I began with the Edit one :

In my DataControls I have something like :
AllDocuments
 |
 +- Id
 |
 +- Name
 |
 +-> AllDocumentLines
      |
      +- IdLine
      |
      +- Value
I created a form with the "AllDocuments" items having navigation and submit button.

I created an editable table with "AllDocumentLines" items.

The values are correctly filled.

My questions are :
- Which kind of "button" I have to add at the end of each row of the table to :
* validate the update if "Value" changes ? I tried to drag/drop the related Create button but it stays disabled.
* delete the row

- Which button can I put to "Add" a new row ?

I searched the forum but can't find answers of my problem.

Edit: I'm using JDeveloper 11.1.1.3.0

Edited by: Christophe on Jul 2, 2010 5:12 PM

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points