I am adding code splitting to an existing project.
I noticed some problems trying to run the application
compiled for the web, but opening the local copy of files.
So I tried this experiment:

Use 2.0 webAppCreator to make a simple project
(simple_project.html etc.)
Add the simple example of code splitting as the
action taken when the button is pressed
( Window.alert("Hello AJAX"); )

When I move this app up to the website, it works fine.
When I open the local copy of simple_project.html
and press the button, here is what happens:

On Firefox 3.0.16, it works (the window alert appears),
but the error console reports two javascript syntax errors.

On IE8, it does not work, and the status bar says "Error on page."

This is cumbersome, because my preferred way of testing
GWT applications is to compile for the web and open the local
files, instead of using hosted mode.

--

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