My GWT-app is working only on IE

3 views
Skip to first unread message

luttkens

unread,
Jun 22, 2008, 6:21:52 AM6/22/08
to Google Web Toolkit
My GWT-app doesn't work on Firefox or Safari, but it work on IE. I
don't know when it stopped working so I wonder if there are any known
causes to this bug?

Boby Tanev

unread,
Jun 22, 2008, 6:44:11 AM6/22/08
to Google Web Toolkit
We had the same problem with our application. The problem was solved
when we changed the css and put sizes in all the container panels we
used.

dolc...@gmail.com

unread,
Jun 22, 2008, 9:58:38 PM6/22/08
to Google Web Toolkit
I suggest you give more information. What version of GWT are you
using, what is in your module xml, etc.

luttkens

unread,
Jun 23, 2008, 3:44:03 AM6/23/08
to Google Web Toolkit
I'm uding version 1.4, and the following packages

import java.util.Arrays;
import java.util.Comparator;

import com.allen_sauer.gwt.dnd.client.PickupDragController;


import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.json.client.JSONArray;
import com.google.gwt.json.client.JSONException;

import com.google.gwt.json.client.JSONObject;
import com.google.gwt.json.client.JSONParser;
import com.google.gwt.json.client.JSONString;
import com.google.gwt.json.client.JSONValue;
import com.google.gwt.user.client.Command;
import com.google.gwt.user.client.HTTPRequest;
import com.google.gwt.user.client.ResponseTextHandler;
import com.google.gwt.user.client.Window;
import com.google.gwt.user.client.ui.AbsolutePanel;
import com.google.gwt.user.client.ui.Button;

import com.google.gwt.user.client.ui.CheckBox;
import com.google.gwt.user.client.ui.ClickListener;

import com.google.gwt.user.client.ui.DockPanel;

import com.google.gwt.user.client.ui.DialogBox;
import com.google.gwt.user.client.ui.FlowPanel;
import com.google.gwt.user.client.ui.Grid;
import com.google.gwt.user.client.ui.HTML;
import com.google.gwt.user.client.ui.Hidden;
import com.google.gwt.user.client.ui.HorizontalPanel;
import com.google.gwt.user.client.ui.HorizontalSplitPanel;
import com.google.gwt.user.client.ui.ListBox;
import com.google.gwt.user.client.ui.MenuBar;
import com.google.gwt.user.client.ui.MenuItem;
import com.google.gwt.user.client.ui.ScrollPanel;

import com.google.gwt.user.client.ui.Label;

import com.google.gwt.user.client.ui.Panel;
import com.google.gwt.user.client.ui.RootPanel;

import com.google.gwt.user.client.ui.TextBox;
import com.google.gwt.user.client.ui.Tree;
import com.google.gwt.user.client.ui.TreeItem;
import com.google.gwt.user.client.ui.VerticalPanel;

import com.google.gwt.user.client.ui.Widget;
> > causes to this bug?- Dölj citerad text -
>
> - Visa citerad text -

gregor

unread,
Jun 23, 2008, 7:27:01 AM6/23/08
to Google Web Toolkit
Hi luttkens,

If you are developing on WIndows platform your hosted mode dev shell
browser will be IE. IE does not play by the same rules as FF and
safari so there are things you can do that work in IE (and therefore
in hosted mode) but don't in the others. Unfortunately without knowing
a specific point in your code where the problem occurs it's difficult
to suggest what it might be.

I had this problem early in my first project (I got no display at all
from FF) and it was a shock. I found the problem by stripping
everything out and putting it back incrementally until I pinpointed
the problem. Since then I have routinely tested across all browsers
every step of the way.

regards
gregor

alex.d

unread,
Jun 24, 2008, 5:18:55 AM6/24/08
to Google Web Toolkit
jepp... there is actually no other way. get everything out, und put it
piece for piece back testing in FF untill you've found the problem.

meng

unread,
Jun 24, 2008, 6:34:25 AM6/24/08
to Google Web Toolkit
i suppose you can use firebug to see what's actually rendered ....that
whether the widgets are rendered but just not visible on screen...

Thanks to firebug, life will be a lot more miserable if it works in FF
but not in IE.

ppa...@gmail.com

unread,
Jun 24, 2008, 12:36:55 PM6/24/08
to Google Web Toolkit
I ran into this symptom a while ago as well. It turned out to be a
bug in a GWT-EXT widget.

If nothing is displayed in FF but your application works in IE, it is
probably due to a javascript error - one that IE is silently
accepting. Use Firebug to get some idea of where the bug might lie.
Most likely though, you will need to do as others have suggested and
just strip everything out except for the bare-bones entry point
screen. Remove anything you have to in order to get something to
display in FF. Slowly add things back and retest until you can
isolate what widget is causing the problem. You can then search the
forums for issues regarding that specific widget.

Good luck!

luttkens

unread,
Jun 26, 2008, 2:13:59 PM6/26/08
to Google Web Toolkit
I did what you said - it was pretting boring - but problem solved!
It turned out to be that an AbsolutePanel needed to be set to a size
in order to work in FF.

Thanks for your help!
Reply all
Reply to author
Forward
0 new messages