Hi,
JDev 11.1.2.4
I have a VO with one VC. In my AM, I exposed 2 VO:
VO1 = VO without the VC
VO2 = VO with the VC
In my UI I have:
a table based on VO1 in which I can add, update or remove rows.
a button that show a popup that contains a table based on VO2
Scenario: Update
I make a modification on an existing row. The modification is done on a field auto submit - true.
I click the button
The table in the popup shows the modified value
OK
Scenario 1: Create
I create a new row. The fields to create the new row are all auto submit = true
I click the button
The table in the popup does not show the new row. It shows only the last state (original rows + modified rows)
KO
Scenario 1: Remove
I remove an existing row.
I click the button
The table in the popup does not show the deleted row. It shows only the last state (original rows + modified rows)
KO
Q: What can I do, so the table in the popup shows the current state (uncommitted data). I tried to refresh the iterator after a create or a delete but I still get the old data?
| DCIteratorBinding myIterator = ADFUtils.findIterator(iterator); |
| myIterator.executeQuery(); |
| myIterator.refresh(DCIteratorBinding.RANGESIZE_UNLIMITED); |
Thanks