You need to sign in to do that
Don't have an account?
apex_keen
From VF page, how to show pop up that uses controller data ?
Hello ! My requirement is something like this: Say I'm displaying 20 account records( based on some criteria) with check boxes in vf page(using wrapper class for this). Now whatever records users are selecting from those 20; I was to display them on nice pop up window. Now in my custom controller, I can have the logic to put the selected records in the 'List'. Next Step is to display the list data in popUP(javascript window?). how can I do that in best possible manner?
Hi
You can do something like this
Store all those Ids of the selected records into a string in csv format.
Pass that string through url to pop up page
That pop up page also will be a vf page, which opens through javascript.
In the pop up page you can retrieve the string of ids and query and display those selected records in a nice way.
For opening the popup you can use this.
Hope this helps..!
if you are not looking up to do it through a vf page, there is a way to do it through jquery
For reference refer this
http://www.htmldrive.net/items/show/650/jQuery-Custom-PopUp-Window