This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSF and the fly likes Programmatically add iframe inside Primefaces p:dialog Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Programmatically add iframe inside Primefaces p:dialog" Watch "Programmatically add iframe inside Primefaces p:dialog" New topic
Author

Programmatically add iframe inside Primefaces p:dialog

Javier Mauricio Vargas
Greenhorn

Joined: Nov 17, 2012
Posts: 1
Hi, all

I need to create Programmatically a Primefaces p:dialog with a iframe inside, i know how create a p:dialog Programmatically but i dont know how create the iframe inside.

thanks for you help.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15962
    
  19

Welcome to the JavaRanch, Javier!

JSF (whether plain or PrimeFaces) doesn't work very well with frames, I'm afraid. It has good tiling support, but for cases where the embedded content comes from a foreign URL, it's usually more trouble than it is worth.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Programmatically add iframe inside Primefaces p:dialog
 
Similar Threads
Generating Bar charts and Stacked Bar Charts using JSF 2.0 and PrimeFaces 2.2
Problem with sessionScoped
Detection among two domains/servers
how to make a link inside an iframe, go to another webpage entirely?
Dynamic change the iframe height