I'm new to GWT too so I'm not much help, but I went through this
tutorial and found it extremely useful:

http://code.google.com/webtoolkit/doc/latest/tutorial/gettingstarted.html

It explains basically everything that you posted above.  Note that
there is no Util class in the Service interface though, that's
basically the only difference I could find between the code you posted
and this example.  I was able to get this example working properly in
my Eclipse environment (ran it exactly how you described too... GWT
compile + Run as Web App)

On Jul 5, 2:08 pm, Dale12 <[email protected]> wrote:
> In addition to that, I can manually open the HTML file and when I
> click on the button, I get an "RPC failed" message, which is what I
> programmed it to do onFail().
>
> On Jul 5, 11:55 am, Jens <[email protected]> wrote:
>
>
>
>
>
>
>
> > 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 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