Friday, January 27, 2012

Problem seeing dynamic part of StockWatcher demo in production mode

I am brand new to GWT and just trying to get the hang of things. I
followed all the steps in the StockWatcher tutorial, and it worked
perfectly... until I got to the step about compiling in production
mode and opening up StockWatcher.html in a browser.

When I opened it in Chrome, all I could see were the GoogleCode image
and the Stock Watcher title; anything generated by javascript was just
missing.

I really don't know how to debug this since I have limited experience
with any web development. My only theory is that the compiler output
might suggest that there is a path problem. My compile output says:
Linking into /Users/bcutler/Documents/workspace/StockWatcher/war/
stockwatcher

... but in the tutorial the same line says:
Linking into war/stockwatcher.

Could this be the problem? If so, how do I fix it?

For what it's worth, I tried opening the file in Firefox as well. The
page loaded just fine in Firefox and the javascript seemed to work
perfectly, except that pressent "Enter" on the text box doesn't do
anything. Isn't GWT supposed to fix the cross-browser problem?

I am using Eclipse 3.7 (Indigo) with the GWT plugin and version 2.4.0
of the SDK.

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

No comments:

Post a Comment