I think your code looks fine.

Do you actually have a MyGWTModule.html file inside your war folder or any 
html page that includes the generated .js files from GWT? 
If not you have to create one (New -> HTML Page. The one with the GWT 
icon). 
You can also create it by hand. Just make sure you have

<script type="text/javascript" language="javascript" src="<your module 
name>/<your module name>.nocache.js"></script>

in the html page's <head> tag and if you ever want to have history support 
you need

<iframe src="javascript:''" id="__gwt_historyFrame" tabIndex='-1' 
style="position:absolute;width:0;height:0;border:0"></iframe>

inside the <body> tag.

-- J.

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

Reply via email to