2011/2/16 Thomas Broyer <t.bro...@gmail.com>: > 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(...);
thanks Thomas, all work fine!!! Where can I found more details (like yours) about RequestFactory? -- Luca Morettoni <luca(AT)morettoni.net> | http://www.morettoni.net gtalk/msn: luca(AT)morettoni.net | http://twitter.com/morettoni jugUmbria founder: https://jugUmbria.dev.java.net/ | skype: luca.morettoni -- 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.