Popup Details for a Table Record

Posted by shay.shmeltzer on Oracle Blogs See other posts from Oracle Blogs or by shay.shmeltzer
Published on Wed, 24 Mar 2010 13:27:22 -0800 Indexed on 2010/03/24 21:53 UTC
Read the original article Hit count: 636

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.

© Oracle Blogs or respective owner

Related posts about contentdelivery

Related posts about popup