Popup to show record info

Hi ,
I have below requirement.
I am displaying table data using table element.
For every record , i will have one button at the end in layout.On clicking the button a pop up should open which contains some information on selected record.Can i use Onclientclick of button element.
How can i achieve this functionalty.
Thanks
--Pradeep

Hi Pradeep,
Using javascripts, anything is possible. This can also be achieved using AJAX. But I can't explain you all the steps here. Since it is a lot to be written. But if you learn the DOM Tree navigation and AJAX concepts, then you can do this very easily.
The solution can be split into 3 steps
1. Catch the button click event
2. Retrieve the data for display.
3. Fill the data in the popup.
Step1 & Step2:
When the button is triggered, this event can be captured at the backend and based on the rowindex and id of the button, i suppose you can retrieve the corresponding row from the table.
or
If you want to trigger a client side event, you need to navigate the existing tableview structure to find out your records or you could make an ajax call and retrieve your values.
Step 3:
During this serverside event, you can set a flag at the back end and this backend variable value can be passed on to a javascript variable and based on the value set you could decide on whether to open a popup window.(another page) using the scripts which will display the retrieved data.
or
If you have used ajax then in the call back function you could open a popup using the javascripts.
Please remember the popups need not be a seperate window, you could also make a <div> element act as a popup inside a page.
All the variables can be maintained in the application class of bsp for it can be shared to all the bsp pages.
Hope it helps!
Regards,
Maheswaran
Edited by: Maheswaran B on Jan 4, 2010 4:40 PM

Similar Messages

  • Hello, I have creative cloud installed on my Mac Book Pro - OS X 10.9. 5 When trying to download trial version, a popup window shows the message " you have been disconnected"  Connect to continue. No way to access to the download programs after entering t

    Hello, I have creative cloud installed on my Mac Book Pro - OS X 10.9. 5 When trying to download trial programs, a popup window shows the message " you have been disconnected"  Connect to continue. The same message comes after repeated attempt to entering the login and password info. How can I solve this?

    Hi Jeff,
    Here is the screenshot of the window which comes after any attempt to download a trial version.  It is in French, it means you have been disconnected, connect to continue.

  • On my new iPhone, at the Apps store, I tried to make a purchase, the popup screen shows my Apple ID and asks for my password, but no keyboard appears so that I can enter the password.  How do I get the keyboard to appear??

    On my new iPhone, at the Apps store, I tried to make a purchase, the popup screen shows my Apple ID and asks for my password, but no keyboard appears so that I can enter the password.  How do I get the keyboard to appear??

    On your iPad, delete the existing account then sign back in with the new ID and password.

  • Bridge does not shows file info, just thumbnails, what's going on? already adjusted in preferences, but still only thumbnails and not the info of the file

    Bridge 8.5 does not shows file info, already adjusted in preferences but still just showing thumbnails only.
    Can anyone please help?
    Thanks

    The single download means that you won't be able to redownload it from the store without paying, either on a computer's iTunes or an iOS device - it doesn't stop you from copying the audiobook to your other computers or syncing it to your iOS devices, you just can't redownload it. (I believe that they are all supplied to Apple by audible.com, so I assume that it's them requiring the one-time download.)
    You can download audiobooks on your computer's iTunes and sync them to iOS devices, you do not have to buy them directly on the device (if you do then you can copy them back to your computer's iTunes library by connecting the device and using the File > Devices > Transfer Purchases menu option on your computer's iTunes).
    What you are doing to sync them should work i.e.
    - connecting the iPad to your Mac
    - selecting the iPad on your Mac's iTunes
    - selecting its Books tab and selecting the audiobooks that you want to sync to the iPad and syncing/applying that selection.
    You should then get an audiobooks option in the Music app on your iPad. If they aren't appearing there  then do they show in Settings > General > Usage > Music on the device - if you have audiobooks on the iPad then they should be listed there under an 'audiobooks' heading.
    By 'restart the iPad' do you mean a soft-reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.
    You could also try closing its Music app via the iPad's taskbar : Force an app to close in iOS.
    And do a soft-reset and retry syncing.
    I assume that music and other items sync ok ?

  • How to show records with zero on dashboard

    hi expert,
    if I have a dimension table product,
    a fact table
    if in the db, there are records with zero values of product A.
    if the logical column for the fact is SUM(...).
    how to show records with zero values on dashboard.
    Use the outer join?
    or other method?
    I dont wanna use outer join because it makes the PRD be so complicated

    hi,
    Pull all the columns to criteria ,it will show NULL for a product
    To get zero,on the fact column use IFNULL(fact_col,0)
    which will look like this
    http://a.imageshack.us/img180/6616/ifnull.jpg
    thanks,
    saichand.v

  • "record enable" buttons not showing up in Garage Band 10.0.3 (I have selected "show record enable"- a space in the track header opens up, but the button is not present.  Same with "input moniter".

    "record enable" buttons not showing up in Garage Band 10.0.3 (I have selected "show record enable"- a space in the track header opens up, but the button is not present.  Same with "input monitor".

    Look at all the posts in the forum from users with similar problems, it happened with the last Logic update.

  • Oracle ADF -  popup table's record gets empty or blank after any db action.

    Hi,
    I am using Oracle jDev 11.1.1.4.0.
    In my application i have find button in my jspx.
    On click of find button i have shown popup with table.
    As user selects record from popup table that record get displayed in form fields of jspx
    and user can edit that record and save it in the database.
    Suppose I have edited a record and saved the same in database.
    Now, when I click on that find button, pop up opens but the record which I have just edited is not getting displayed correctly in the table.
    Some fields are getting emptied.
    I have set the property of entity object's attribute, refresh after update and insert.
    But still selected record get empty in popup table after database transaction.
    appreciate your help..
    thanks
    Rupashree
    Edited by: 888077 on Sep 28, 2011 5:54 AM

    By the sounds of it you are in the wrong forum :)
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Oracle adf - popup table's record get empty after any database tranasction.

    Hi,
    I am using Oracle jDev 11.1.1.4.0.
    In my application i have find button in my jspx.
    On click of find button i have shown popup with table.
    As user selects record from popup table that record get displayed in form fields of jspx
    and user can edit that record and save it in the database.
    Suppose I have edited a record and saved the same in database.
    Now, when I click on that find button, pop up opens but the record which I have just edited is not getting displayed correctly in the table.
    Some fields are getting emptied.
    I have set the property of entity object's attribute, refresh after update and insert.
    But still selected record get empty in popup table after database transaction.
    appreciate your help..
    thanks
    Rupa

    By the sounds of it you are in the wrong forum :)
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • When i execute code, it shows "Record 1/?" and takes too much of time to execute.

    Hi all,
    I have s form with push_button (SEND TO BACKUP).
    For this push button - SEND TO BACKUP, i have coded the below for Trigger - WHEN BUTTON PRESSED.
    DECLARE
      CNT NUMBER;
      TEMPDATE DATE;
    CURSOR C1 IS SELECT MAT_DESC, FRAME, FSIZE,    POLES, NUMS, DRG_NO,    RM_WT, FIN_WT, RATE,    FRAMENAME, FTYPE, CHND_DATE,RATESOFPO
    FROM RMC_INACTIVE_MAT_RATES_MP;
    BEGIN
      FOR I IN C1 LOOP
       SELECT COUNT(CHND_DATE) INTO CNT FROM RMC_INACTIVE_MAT_RATES_MP_PREV WHERE CHND_DATE=I.CHND_DATE;
      IF CNT > 1 or cnt=1 THEN
       MESSAGE('INACTIVE MATERIAL RATES FOR MEGAPACK  ALREADY EXIST IN BACKUP WITH THIS DATE ');
      MESSAGE(' ');
      Raise Form_Trigger_Failure;
      end if;
    end loop;
      FOR I IN C1 LOOP
      INSERT INTO RMC_INACTIVE_MAT_RATES_MP_prev(MAT_DESC, FRAME, FSIZE, POLES, NUMS, DRG_NO,    RM_WT, FIN_WT, RATE,    FRAMENAME, FTYPE, CHND_DATE,
      RATESOFPO )
      VALUES(I.MAT_DESC, I.FRAME, I.FSIZE, I.POLES, I.NUMS, I.DRG_NO,    I.RM_WT, I.FIN_WT, I.RATE,    I.FRAMENAME, I.FTYPE, I.CHND_DATE,I.RATESOFPO  );
      END LOOP;
      COMMIT  ;
      MESSAGE('DATA HAS SENT SUCCESSFULLY ');
      MESSAGE(' ',NO_ACKNOWLEDGE);
    END;
    It is working but with lot of delay, it takes too much of time.
    After i run this form & as i press the button, it shows "Record 1/?" in the below and it takes almost 5 mins to execute completely and dhow the message.
    Can you tell why is it showing "Record 1/?" below ???
    How to reduce the delay??
    Thank You.
    Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production

    If you want to suppress the message shown in status you can set the sevearity like :system.message_level          := '20';
    Can you change your code like
    :system.message_level          := '20'; --- To suppress the default messages
    DECLARE
      CNT NUMBER;
      TEMPDATE DATE;
    CURSOR C1 IS SELECT MAT_DESC, FRAME, FSIZE,    POLES, NUMS, DRG_NO,    RM_WT, FIN_WT, RATE,    FRAMENAME, FTYPE, CHND_DATE,RATESOFPO
    FROM RMC_INACTIVE_MAT_RATES_MP;
    BEGIN
      FOR I IN C1 LOOP
       SELECT COUNT(CHND_DATE) INTO CNT FROM RMC_INACTIVE_MAT_RATES_MP_PREV WHERE CHND_DATE=I.CHND_DATE;
      IF cnt >= 1 THEN
       MESSAGE('INACTIVE MATERIAL RATES FOR MEGAPACK  ALREADY EXIST IN BACKUP WITH THIS DATE ');
      MESSAGE(' ');
      Raise Form_Trigger_Failure;
      end if;
    end loop;
      FOR I IN C1 LOOP
      INSERT INTO RMC_INACTIVE_MAT_RATES_MP_prev(MAT_DESC, FRAME, FSIZE, POLES, NUMS, DRG_NO,    RM_WT, FIN_WT, RATE,    FRAMENAME, FTYPE, CHND_DATE,
      RATESOFPO )
      VALUES(I.MAT_DESC, I.FRAME, I.FSIZE, I.POLES, I.NUMS, I.DRG_NO,    I.RM_WT, I.FIN_WT, I.RATE,    I.FRAMENAME, I.FTYPE, I.CHND_DATE,I.RATESOFPO  );
      END LOOP;
      COMMIT  ;
      MESSAGE('DATA HAS SENT SUCCESSFULLY ');
      MESSAGE(' ',NO_ACKNOWLEDGE);
    END;

  • App update panels show no info about what's new

    Since upgrading to Yosemite, app update panels show no info about what's new in the release.

    Hello,
    I'm having the same exact problem on my Mac as well. Its a bug and sadly Apple hasn't yet released a fix to it, but I'm also having an issue where iTunes says "Determining Gapless Playback Information". It's so annoying and I'm really hoping that Apple would read this and fix these problems.

  • Show Item Info gives wrong numbers

    On my iMac 20" Core Duo with OS 10.4.6, the hard drive data shown in the Finder with the Show Item Info option selected is incorrect. For example, the internal drive shows 232.57 GB with 47 GB free. Activity Monitor or Get Info both show the correct amount of 162.38 GB free. Same thing happens with external drives. Graphics show the correct dimensions, though. On my iBook with OS 10.3, the item info is shown correctly.
    Apple suggested reinstalling the system, but this seems like overkill for such a minor problem.
    I was just wondering if anyone else is seeing this?

    I have noticed this problem on my iBook and eMac for the free space available on my iDisk and Hard Disks, but here is an easy workaround.
    Go to the force quit item in the apple menu. Select the finder and relaunch. When the finder refreshes, the information will be accurate.
    iBooK G4, 1.5GB RAM, eMac 1GB Ram   Mac OS X (10.4.5)   Airport Express, 40 GB iPod photo, 40 GB iPod, 1GB iPod shuffle

  • Show item info does not show on all files

    I need that "show item info" very much, because it shows, how many sec each of my video clips are. When I have a folder with many video clips in it, about 3/4 shows the item info (sec length of clip) but about 1/4 it does not.
    It would help me a lot to see all. Would there be a way to fix that?
    Dorian

    Before you do this insert your original dvd, then restart holding the c key until the grey apple logo screen appears. When it asks to select language do so. On the next screen select Disk utility from the tools/utilities menu. Select your HD and do a Repair Disk. If errors are indicated and repairs are shown as successful, rerun this until there are no errors indicated. Also do the Repair Permissions option while in this mode.
    After all this restart and see whether all goes well.
    This process will be a lot quicker than a reinstall if it solves the problems.
    Neville

  • Show view options/Show item info - only half working

    Used to be that all my photos in a folder showed the dimension under the name. Now, even tho I do:
    Show view options/ and check Show item info, only some of them have the dimensions. And what's really funny is that the portrait oriented pix have the dimensions, but the landscape oriented are missing the dimensions. What's going on here?

    must've recently done something to the Landscape ones...
    actually, the workflow I mentioned was applied to only one folder of pix, both port. and lands., but now, even other folders are affected, ones that I didn't run the workflow on. If I go to iPhoto, export some pix from last year to a folder (saved to anywhere), same results, port. have the dim.s below, landscapes do not.
    And now for something completely diff... So I have a folder of pix on my desktop I just imported from iPhoto. I see dim.s under the port.s, none under the land.s. I open a lands. with preview. I rotate ccl, then clockwise (back to original orientation, right?), save, close preview. There it is in the folder WITH the dim.s under it. What kinda ghost have I got here?
    Just to mention, I bought a Touch. It launches iPhoto when I attach it to my MBP (so it can sync the saved photos, only when I have some on the Touch). Don't know if that has anything to do with anything. Tx 4 th response, BD.

  • Finder stopped showing file info

    Running OSX 10.6.8 on iMac. Recently noticed that Finder has stopped showing file info and thumbnails when I click on files in list view with columns. Repairing privileges and restarting has not resolved the problem. I'm able to see file info when I hit command-I, but otherwise, simply clicking on the file name no longer shows the mini preview that's so convenient. How to restore this function in Finder?

    Long shot probably.
    Do a backup.
    Go to Finder and select your user/home folder. Select Library. Then go to Preferences/com.apple.finder.plist.  Move the .plist to your desktop.
    Re-launch Finder by restarting the computer and test. If it works okay, delete the plist from the desktop.
    If the same, return the .plist to where you got it  from, overwriting the newer one.

  • Show File Info window disappearing

    I am trying to access a Pages document in a file sharing arrangement, but Pages won't allow me to access it.  I checked permissions on the Pages document and need to add permissions, but the Show File Info window closes before I can do anything to change permissions.

    Eversave.app was the problem.  It apparently was causing the issue - closed the app, problem disappeared.

Maybe you are looking for