This content has been marked as final.
Show 3 replies
-
1. Re: Open an google inside rich modalPanel
kragoth Mar 13, 2011 7:18 PM (in response to lucasmonsterrocha)This question should be on the richfaces forum not Seam.
But, since your here. Just use an iFrame inside the modalPanel
<rich:modalPanel id="testPanel"> <iframe src="http://www.google.com"></iframe> </rich:modalPanel>
To take it further you could just use a param/EL expression in the src attribute.
<rich:modalPanel id="testPanel"> <iframe src="#{myParam}"></iframe> </rich:modalPanel>
A modal panel is not what you are trying to make it be. Try thinking of the modal panel as a DIV. You can't set a div to display a url. You need to add stuff to it. Same goes for a modal panel.
-
2. Re: Open an google inside rich modalPanel
lucasmonsterrocha Mar 14, 2011 2:36 PM (in response to lucasmonsterrocha)ok i will post in the correct forum next time, but th eiframe inside didn't work it start tring to open the google but the model is closed and then the 'parent' window opens the google
-
3. Re: Open an google inside rich modalPanel
kragoth Mar 15, 2011 6:57 PM (in response to lucasmonsterrocha)
lucas rocha wrote on Mar 14, 2011 14:36:
ok i will post in the correct forum next time, but th eiframe inside didn't work it start tring to open the google but the model is closed and then the 'parent' window opens the googleI'm sorry but, I don't quite understand what you are saying here. Can you try explain it a little clearer?