Monday, January 2, 2012

g:frame doesn't work with external link

i have gwt app, and one of the 'page'(or display) has a iframe whose
url point to google web page, however when deploy the app, google page
doesn't show up. here is the code

<g:HTMLPanel styleName="{style.ctntBox}">
<div id="contactForm">
<g:Frame url="http://www.google.com/"></g:Frame>
</div>
</g:HTMLPanel>

if i replace the google webpage with a static image stored locally, it
show up fine:

<g:HTMLPanel styleName="{style.ctntBox}">
<div id="contactForm">
<g:Image url="img/myImg.jpg"></g:Image>
</div>
</g:HTMLPanel>

can anyone tell me why it won't work with external link? Thanks

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment