I completed with that code from RequestFactoryJreTest :
DomainRequestFactory rF =
RequestFactoryMagic.create(DomainRequestFactory.class);
EventBus eventBus = new SimpleEventBus();
ServiceLayer serviceLayer = ServiceLayer.create();
SimpleRequestProcessor processor = new
Where do you find Service Layer into those 2 links ?
--
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to
That's it thank you !
--
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to
google-web-toolkit+unsubscr...@googlegroups.com.
I am using GAE and when I create an entity having parents with Request
Factory, I get this exception:
com.googlecode.objectify.NotFoundException: No entity was found matching the
key: Key{kindClassName=com.pipo.MyEntity, parent=null, id=2}
This exception is launched when calling:
public
Hello,
Is there some example of how to test request factory code in JRE ?
I found that :
http://code.google.com/p/google-web-toolkit/source/browse/trunk/user/test/com/google/gwt/requestfactory/server/RequestFactoryJreTest.java?r=9485
But I am not sure how to do the actual test ?
--
You
I tried to use the class RequestFactoryMagic but I get the following
exception:
java.lang.IllegalArgumentException: Attempting to edit an EntityProxy
previously edited by another RequestContext
Here is my code:
DomainRequestFactory rF =
A wierd bug appeared in my application :
com.google.gwt.dev.shell.HostedModeException: Something other than an int
was returned from JSNI method
'@com.google.gwt.user.client.Timer::createTimeout(Lcom/google/gwt/user/client/Timer;I)':
JS value of type JavaScript object(13), expected int at
The issue is general to my application, when I comment the faulty code I get
the error on another native type :
com.google.gwt.dev.shell.HostedModeException: Something other than a boolean
was returned from JSNI method
'@com.google.gwt.user.client.impl.HistoryImplTimer::init()': JS value of
Damn the bug is coming for chrome 10 and the plugin ...
https://groups.google.com/d/topic/google-web-toolkit/1hcrVTxvOh0/discussion
--
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?hl=en.
--
Cordialement / Best regards,
Simon Majou
--
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-tool...@googlegroups.com.
To unsubscribe from this group, send email
It works fine with 2.1.1-rc1.
--
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to
Ok in fact Request factory checks the fields of the entity and not the
accessors (into the validateKeys method of the class JsonRequestProcessor).
It is quite unexpected as we expose accessors into the proxy and not fields.
So it seems impossible to use Request factory with relationships using
I want to create an object with a relationship with request factory.
I don't have the actual related object, just its id.
So I added into the object a getter and setter to convert the id into a
Key :
KeyUser ownerKey;
public KeyUser getOwnerKey() {
return ownerKey;
}
public void
Thanks for the info.
On Dec 5, 10:48 pm, Thomas Broyer t.bro...@gmail.com wrote:
On 5 déc, 01:06, Simon Majou si...@majou.org wrote:
When creating an object with RequestFactory the @inject fields are not
injected. I guess RequestFactory don't use guice to create the
objects. How can I
When creating an object with RequestFactory the @inject fields are not
injected. I guess RequestFactory don't use guice to create the
objects. How can I delegate objects creation to Guice?
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To
I think it would be better to move the requests out of the entity in
their own class and annotate them just like for the proxy (something
like @requestsFor(Entity.class)). Would it be possible?
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit
Hello,
I am trying to run the dynatablerf example for request factory, and I
get :
bodyh2HTTP ERROR: 500/h2preorg/json/JSONException/pre
pRequestURI=/gwtRequest/ph3Caused by:/
h3prejava.lang.NoClassDefFoundError: org/json/JSONException
at
17 matches
Mail list logo