Win a copy of Machine Learning with R: Expert techniques for predictive modeling this week in the Artificial Intelligence and Machine Learning forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

Unique problem with iframes

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Bartender
Posts: 2372
102
Google Web Toolkit Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
rubbery bacon. crispy tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!