Popup Details for a Table Record
By Shay Shmeltzer-Oracle on Mar 24, 2010
This one started as an OTN how-to question that seemed like something that should work automatically - turns out you need a couple of small tweaks to get it working.
The idea is to have a table on a page showing multiple records, you can click any row in the table - and get a pop-up window that shows more data about that row.
At first I thought I'll just need to drag the same view twice to the page - once as a table and then as a form in a pop-up. But then the Form didn't reflect the new row that got selected in the table - you'll always see the first row you selected.
Adding a Partial Page Rendering between the table and the pop-up didn't do the trick either.
Then I realized that the content delivery attribute of the pop-up was set to lazy, when I switched it to immediate - everything worked.
Here is a little demo showing the whole development process:
Note that the content delivery method attribute is also something you might want to check if you see your tables being refreshed too often when you scroll through records for example.