Hello all,
I have bought the "Google Web Toolkit Applications" book by Ryan
Dewsbury and am trying to get the first little code to run. Now, I'm
using GWT 1.6 and the book was not written for this, but I've changed
the ClickListeners to ClickHandlers and everything seems to compile
just fine.
However, when I run the app, I get a JS error saying "Error:
'undefined is not null or not an object'
The code which is highlighted in the MS script debugger is:
b.__gwt_getProperty=function(a){return hc(a)}
Slightly larger context is:
if(kc()){b.__gwt_getProperty=function(a){return hc(a)}}hangman=null;
Again, the code compiles OK, it seems, since it starts the hosted
server and a local browser. The hosted mode server seems to run and be
able to restart properly.
Here is the layout of my package:
Hangman
src
com.gwtapps.tutorial
Hangman.gwt.xml
com.gwtapps.tutorial.client
Hangman.java
com.gwtapps.tutorial.server
<empty>
GWT SDK [GWT - 1.6.4]
JRE System Library [jdk] (This is the SUN 5.0 SDK)
war
WEB-INF
lib
web.xml
Hangman.css
Hangman.html
It is VERY small. I have uploaded the project here:
http://dan.ostrowski.cc/bin/Hangman.zip
I would love it if someone could take a look and see if I'm doing
anything obviously wrong.
Of note, this is eclipse 3.3 (Zend Studio edition, actually).
Thanks so much!
Dan Ostrowski
dan.ostrowski (at) gmail.com
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---