I have a main page with "Create New" btn, that brings me to page2 that has dept/emp master detail. Master (Dept) is an editable form layout and details(EMP) is an editable table layout.
The purpose of page2 is to allow creation of brand new dept, as well as add new employees on the detail at the same time.
So I created and adf taskflow, with a default activity method call to 'CreateInsert' operation, which in turn calls page 2. The problem I am running into is that after I enter the Dept info
on the form layout, the page is not rendering new row to enter the details for employee. Since deptId is the foreign key, so I set the autoSubmit to true in the Dept form layout, and set the
partialTriggers in employee table layout to listen to the deptId.
Any Idea why I am not getting the data entry row on the employee layout?
As far as I understand you are only creating a new department. This will not automatically create any new emp rows. You have to add a button on the page 2 which allows you to call createInsert for the detail (the emp) vo.
Finally got the page to behave as I intended it to. Now the problem is when I click the 'CreateInsert' for the detail block after entering the master info; before a new blank row is displayed, the wheel starts to spin and it says fetching data (even though its a brand new dept and there is nothing to fetch).
It does this every time I try to add a new detail line.
How do I stop this query/fetch thing from happening?