On Tuesday, May 15, 2012 9:02:23 AM UTC+2, lucky wrote: > > could you please clarify me that can't we call two times fire methods in > same widget? > Because i want to get data from the server to client (for this i have > created the value proxy and one requestcontext). > and send some user input to server(for this i have created one more value > proxy and requestcontext). > when i fire () these two in same widget I am getting exceptions. >
I'm not sure I understand your situation (also, knowing which exceptions you're seeing would help), but you can't call fire() twice on the same RequestContext instance. You can "batch" several method calls on the same RequestContext (using to(Receiver) to attach invocation-specific callbacks) and then call fire() once to make a single HTTP request. It has nothing to do with "widgets". -- 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/-/4zU8lP1WVmUJ. 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.
