A RequestContext can contain more than one "invocation", but can only be
fire()d once.
context.findTestEntity(1L).with("group1").to(some receiver);
context.findTestEntity(1L).with("group2").to(some other receiver);
context.fire(); // with or without receiver
This is however useless, as all "invocations" (calls to findTestEntity) will
be batched as a single HTTP request.
So, in your case, you have to create a new RequestContext for each
invocation:
factory.testRequest().findTestEntity(1L).with("group1").fire(...);
factory.testRequest().findTestEntity(1L).with("group2").fire(...);
--
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.