File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes GWT and the fly likes Unique problem with iframes Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » GWT
Reply Bookmark "Unique problem with iframes" Watch "Unique problem with iframes" New topic
Author

Unique problem with iframes

Ned Ryerson
Greenhorn

Joined: Mar 05, 2010
Posts: 12
So I have a gwt app that is composed of 4-5 modules.

So we developed a 'wrapper' app that handles login and passes parameters to each of the module apps (each in gwt/jsp) which display in an iframe. Each app can be accessed by clicking a tab at the top of the iframe.

So far we have 2 GWT modules done and one JSP one done. The JSP app and one of the GWT apps display fine in all browsers in the iframe. For some reason, the 2nd GWT app doesn't display at all, we get a blank screen. The iframe will display any straight html content (if we type "TEST" on the html page for example, it will show) and picks up the css fine... but the gwt content (javascripts / js) isn't displaying.

When right click the iframe, and select "view only this frame", it will display the app just fine.

I theorized it could be a path issue, but I am not sure that is the case since we do not actually set the paths... any hints or tips?

Firefox 3.5+ on mac and pc have this problem. ie 6+, safari and chrome all work fine.
salvin francis
Ranch Hand

Joined: Jan 12, 2009
Posts: 915

It seems a path issue to me too...

Since your html changes are reflected, the src of the iframes seem fine to me.
try checking for any javascript errors...


My Website: [Salvin.in] Cool your mind:[Salvin.in/painting] My Sally:[Salvin.in/sally]
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Unique problem with iframes
 
Similar Threads
Design Question - Consolidating Web Apps
Please comment on our Laszlo Market app
Struts, internationalization, and iframes
Using a JSP as source for an iframe
IFRAME height difference between IE and Firefox