Hi. I'm using JDeveloper 11g (11.1.2.4.0).
I have a JSF page that presents a popup containing a Dynamic Region, and the Region runs a Task Flow that is configured with train stops.
One of the Train Stops displays the detail (of a master-detail view object relationship). Initial activities insert a row into the master View object, display a page to enter the master details, then the next activity inserts an initial row into the detail view object.
The next page fragment displays a read-only table and an editable form to insert rows into the detail view object row set.
The problem I have is on invoking the Popup for the first time in a session, when a third row is added to the detail view object, the page loses currency in the table and the form is no longer editable.
Attempting to add more rows or navigating to displayed rows in the read-only table results in log messages like:
<FacesCtrlHierBinding$FacesModel> <makeCurrent> ADFv: No row found for rowKey: [oracle.jbo.Key[427858 ]].
Where the reported row key is not in the expected rowset for the master or detail view object(s).
If the popup is dismissed, and re-invoked, this behaviour does not occur again and the form / table behaves as expected.
The calling popup is configured as lazyUncached content delivery with deferred child creation. The region binding is refreshed conditionally via a request scope variable and activated conditionally via a view scope variable.
Can anybody help me please. It would appear that the detail view object is being refreshed unexpectedly, but I don't know why or how to overcome it.
Thanks.