Hey guys,

Thanks for your feedback. Trevor, trying the Window.alert() to see if
even that gets fired off. When I say the app doesn't load up at all I
mean literally nothing from my application loads up. When I initially
had it running from withing a div tag deep in the documents body, the
surrounding images and text etc would load up but my app wouldn't.
There would just be a white space where the application should be...
Now that I am literally attaching it to the root panel (directly to
the body) the site comes up, the title is there but there is just
white. Looking at the source doesn't show anything resembling my code.

On that point tho - I would like to note that the html does have some
"extra" stuff added in there that I obviously didn't put myself:

Before the body tag within two script tags is

function SymError()

{

  return true;

}



window.onerror = SymError;



var SymRealWinOpen = window.open;



function SymWinOpen(url, name, attributes)

{

  return (new Object());

}



window.open = SymWinOpen;

And within the body tag also between two script tags is:

var SymRealOnLoad;

var SymRealOnUnload;



function SymOnUnload()

{

  window.open = SymWinOpen;

  if(SymRealOnUnload != null)

     SymRealOnUnload();

}



function SymOnLoad()

{

  if(SymRealOnLoad != null)

     SymRealOnLoad();

  window.open = SymRealWinOpen;

  SymRealOnUnload = window.onunload;

  window.onunload = SymOnUnload;

}



SymRealOnLoad = window.onload;

window.onload = SymOnLoad;

I'm not sure if this helps... This is taking me a while to get right,
because I am developing on Linux, the process of testing each change
(as it works perfectly everytime in firefox) is literally - Make the
change - > Upload the war to my server -> Open on my windows box ->
Find the Exception Not Caught cache.html file line number -> Add the
catch block on my linux machine in that file -> upload the file ->
Check again on my windows box.

That syntax error is still there - I thought it had gone away but that
was a caching refreshing mistake on my side. I need to literally
change the line:

function Vn(a,b,c){var d;d=Qn++==0;try{return a.apply(b,c)}
finally{d&&io((fo(),eo));--Qn}}

to

function Vn(a,b,c){var d;d=Qn++==0;try{return a.apply(b,c)}catch(a){}
finally{d&&io((fo(),eo));--Qn}}

to satisfy IE. Once again, if anyone has any ideas on that error I've
put more details on StackOverflow (the -PRETTY version of the code),
the link is in the previous messages.

Sigh, will come back to you regarding the Window.alert() idea to see
how much of the code is loading. And to spierce7, I think you're right
- thats the best idea to find the problem, will try that after a few
attempts at minor changes ;)

Thanks guys,

Xandel

On Aug 6, 4:22 pm, Trevor Skaife <[email protected]> wrote:
> And when you say the site doesn't load up at all do you mean you just
> don't see it? Or that you put a Window.alert() in the onModuleLoad and
> you even that doesn't work? If it's the first where for whatever
> reason IE is having issues rendering the page I would suggest using
> the developer tools in IE8 and see if there is a problem with your css
> and the way you create the page. I'm guessing it's your css thats
> thats causing issues. When I have issues where things don't look right
> in IE I usually just play around with the styles using the developer
> tools in IE8 until it looks right.
>
> On Aug 6, 8:17 am, spierce7 <[email protected]> wrote:
>
> > I hate issues like this. Unfortunately, particularly since GWT is
> > young, I've gotten something working in one browser, only to find it
> > doesn't work in another browser. Typically I just find a more common
> > way of going through something.
>
> > What I'd recommend is (although it's time consuming), is to comment
> > out the method that builds your entry GUI, and start adding stuff back
> > slowly until you get the issue. Try to get it down and figure out
> > exactly what isn't able to load in I.E. The fact that nothing is
> > loading makes me think it might be one of the outside layers, perhaps
> > try some inner layers of the GUI and see what works and what doesn't.
>
> > If I got your code, that's what I'd end up doing any ways. Errors like
> > this can just happen for random reasons, and to my knowledge there
> > isn't a "well this works in all the other browsers, but not I.E."
> > error. Google has been good about fixing those if I'm not mistaken.
>
> > On Aug 6, 7:41 am,Xandel<[email protected]> wrote:
>
> > > Alright, so I tried RootLayoutPanel.get() instead of RootPanel.get()
> > > and something interesting... The site still does not load up at all
> > > but there is no "Exception thrown and not caught" compilation error
> > > anymore...
>
> > > Not sure if that helps... Will keep looking for answers - but please,
> > > if you require any more information to try and help me solve this just
> > > ask away!
>
> > > Other information I can give you is I am using the MVP design pattern
> > > as suggested by the GWT team based off their contacts example. So
> > > while I don't necessarily call
> > > RootLayoutPanel.get().add(myMainLayoutPanel)) directly I do set
> > > RootLayoutPanel.get() as a container and then later add the
> > > "myMainLayoutPanel" to it. Comes to the same thing I suppose. Just
> > > trying to think of anything that may help!
>
> > > Thanks!
>
> > >Xandel
>
> > > On Aug 5, 7:15 pm, Katharina Probst <[email protected]> wrote:
>
> > > > Maybe it's just me, but it's kind of hard to tell from your description 
> > > > what
> > > > could be wrong.
>
> > > > I do see that you're using RootPanel mixed with LayoutPanel.  Try 
> > > > adding the
> > > > LayoutPanels to the RootLayoutPanel (something like
> > > > RootLayoutPanel.get().add(myMainLayoutPanel)).
>
> > > > Also, I assume you compiled your app for the IE permutation(s)?
>
> > > > kathrin
>
> > > > On Thu, Aug 5, 2010 at 11:43 AM,Xandel<[email protected]> wrote:
> > > > > Hi there,
>
> > > > > Can somebody please assist me - I have spent the last 3 months writing
> > > > > a GWT application and I cannot get it to work in Internet Explorer.
> > > > > It's my first GWT application. It works fine in Firefox and Chrome. In
> > > > > internet explorer it just doesn't load up.
>
> > > > > Here are some details:
>
> > > > > I am using GWT 2.0.3 developed on Ubuntu 9.03 using Eclipse. At first
> > > > > my application was loading from a div tag deep within the DOM's body
> > > > > tag - it was like this because I was making use of html and css to
> > > > > build a "friendly" border around the app. All that would happen was
> > > > > that the html and images would all load - but my app wouldn't show. I
> > > > > have now since moved the application to use the RootPanel.get() so
> > > > > that it loads straight from the body tag - no luck, nothing loads up
> > > > > at all.
>
> > > > > While my app is simple, it contains a lot of panels within each other
> > > > > to build the layout, the main panel being a LayoutPanel. I have tried
> > > > > it in quirks-mode and standards-mode and both don't seem to work.
>
> > > > > Another problem I was having which seems to have gone away I described
> > > > > on this post on StackOverflow:
>
> > > > >http://stackoverflow.com/questions/3033073/gwt-in-ie8-exception-throw...
>
> > > > > Please can somebody help me. I have already posted on this forum and
> > > > > received no help. If anyone has any ideas, or suggestions - I really
> > > > > will be appreciative! I can also provide the link to the site on
> > > > > request.
>
> > > > > Thanks in advance - if anyone actually sees this.
>
> > > > >Xandel
>
> > > > > --
> > > > > You received this message because you are subscribed to the Google 
> > > > > Groups
> > > > > "Google Web Toolkit" group.
> > > > > To post to this group, send email to 
> > > > > [email protected].
> > > > > To unsubscribe from this group, send email to
> > > > > [email protected]<google-web-toolkit%2Bunsubs
> > > > >  [email protected]>
> > > > > .
> > > > > For more options, visit this group at
> > > > >http://groups.google.com/group/google-web-toolkit?hl=en.

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

Reply via email to