Re: GWT MVP and RequestFactory

2010-12-19 Thread Efstathios Kalyvas
Hi, I have exactly the same error I cannot resolve it. I am using google eclipse plug in to create my project. Google is not providing a simple working demo of RequestFactory (including all the jar references the web.xml etc). They make things difficult for no reason. So far I am using RPC to

Re: GWT MVP and RequestFactory

2010-12-19 Thread Thomas Broyer
On Sunday, December 19, 2010 9:09:45 PM UTC+1, savilak wrote: Google is not providing a simple working demo of RequestFactory (including all the jar references the web.xml etc). The Expenses sample is using RequestFactory with Maven, it has the required dependencies on javax.validation

Re: GWT MVP and RequestFactory

2010-12-04 Thread ali
I haven't seen any of this in the documentation either! On Nov 18, 4:57 pm, Nicholas nick.sm...@gmail.com wrote: One more thing I forgot to mention.  You have to add an init-param to therequestFactoryServletto identify your implementation class for the user information class.  (This is in your

Re: GWT MVP and RequestFactory

2010-12-04 Thread ali
I am hitting the following error when using RequestFactory (it's about ValidatorFactory impl not available). Does any one know why ? 20:32:35.092 [ERROR] [Skulgia] Uncaught exception escaped java.lang.RuntimeException: Server Error 500 html head meta http-equiv=Content-Type content=text/html;

Re: GWT MVP and RequestFactory

2010-11-18 Thread Nicholas
Thanks, you got me on the right rack. I didn't realize that more information on the exceptions was available in the dev mode console of eclipse. My domain entity objects had some Boolean accessors which I had named isProperty() instead of getProperty(). I changed all of those, and also made the

Re: GWT MVP and RequestFactory

2010-11-18 Thread Richard Berger
I am having a very similar problem - NullPointerException when I call fire() (the NPE is in AbstractRequestContext.doFire()). So I am wondering if you have found a solution to your problem. The code with the fire() is: CommitmentSystemRequestFactory requestFactory =

Re: GWT MVP and RequestFactory

2010-11-18 Thread Richard Berger
As is typical - after working on this for hours, I think I found my problem 10 minutes after posting. Since I am trying to avoid MVP (for now, until the brain cell count improves), I had not initialized my RequestFactory. Adding: final EventBus eventBus = new SimpleEventBus();

Re: GWT MVP and RequestFactory

2010-11-18 Thread Nicholas
Richard, I was missing that initialization to requestFactory as well. I had to add that, and I had to add the following sections to my web.xml: servlet servlet-namerequestFactoryServlet/servlet-name servlet-

Re: GWT MVP and RequestFactory

2010-11-18 Thread Nicholas
One more thing I forgot to mention. You have to add an init-param to the requestFactoryServlet to identify your implementation class for the user information class. (This is in your web.xml). Mine looks like this. servlet servlet-namerequestFactoryServlet/servlet-name

GWT MVP and RequestFactory

2010-11-17 Thread Nicholas
I am working on a small GWT app (I have used GWT in the past but it was a while ago), trying to learn the new MVP and RequestFactory. I am not sure if I am just approaching this wrong, or have some error I can't spot. When I add a call to instantiate my app's RequestFactory, it no longer runs.

Re: GWT MVP and RequestFactory

2010-11-17 Thread Thomas Broyer
On 17 nov, 21:06, Nicholas nick.sm...@gmail.com wrote: I am working on a small GWT app (I have used GWT in the past but it was a while ago), trying to learn the new MVP and RequestFactory.  I am not sure if I am just approaching this wrong, or have some error I can't spot.  When I add a call