Popup Details for a Table Record

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.

Comments:

Great demo, please post more please!!!!!

Posted by Ollyando on March 26, 2010 at 03:31 AM PDT #

Nice useful topic, Shay I would like to inform you that when I switch content delivery attribute of the pop-up to lazyUncashed and remove Partial Page Rendering between the table and the pop-up - everything worked fine too. regards Karim

Posted by Karim on March 30, 2010 at 10:17 PM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed
About

me
I'm a Director of Product Management for the Oracle Java Development Tools.
Follow me:
Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today