com.google.web.bindery.requestfactory.shared.RequestContext; did you forget to inherit a required module?

2011-06-11 Thread dparish
I'm trying to use RequestFactory in GWT 2.3.  I noticed that the
original RequestFactory has been depricated in favor of:

com.google.web.bindery.requestfactory.shared.RequestContext

My problem is that when I try to run my app I get:


[ERROR] [retain] - Line 10: No source code is available for type
com.google.web.bindery.requestfactory.shared.RequestContext; did you
forget to inherit a required module?

I noticed that the GWT RequestFactory docs aren't very good. For
instance they neglect to mention adding the servlet to web.xml.  I
tried adding the above RequestContext as a module but that didn't work
either.  Anyone know what I'm missing?

-Dave

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: com.google.web.bindery.requestfactory.shared.RequestContext; did you forget to inherit a required module?

2011-06-11 Thread Y2i
The new one is in com.google.web.bindery.requestfactory.RequestFactory 
module

-- 
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/-/KYR7YQ_5qc4J.
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.



Re: com.google.web.bindery.requestfactory.shared.RequestContext; did you forget to inherit a required module?

2011-06-11 Thread dparish
Thanks. After I posted I cracked open gwt-user.jar and found it. I
needed to add the following to my gwt project xml file:

  inherits
name='com.google.web.bindery.requestfactory.RequestFactory'/


The coding docs for this stuff is pretty good but the setup / config
is terrible.  If they expect you to use Spring Roo they should doc
that.

On Jun 11, 11:47 am, Y2i yur...@gmail.com wrote:
 The new one is in com.google.web.bindery.requestfactory.RequestFactory
 module

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: com.google.web.bindery.requestfactory.shared.RequestContext; did you forget to inherit a required module?

2011-06-11 Thread Y2i
I don't think GWT team expects us to use Spring Roo.  Seems quite the 
opposite, the don't expect us to use anything.

-- 
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/-/jAofuEZrsIgJ.
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.