On 3 juil, 21:45, andreas <[email protected]> wrote:
> This sounds really great Thomas, haven't tried that yet.
>
> Can this be done by subclassing RequestBuilder? And can I actually
> really use my subclass of RequestBuilder as return type in
> RemoteService methods? Would make me love the ability to use this
> "return" feature of GWT RPC even more!

It's nothing to do with the return type of methods in your Async
interface. I'm talking about RpcRequestBuilder, not RequestBuilder:
http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/gwt/user/client/rpc/RpcRequestBuilder.html

(and yes, it allows you to use your subclass of RequestBuilder; but
IMO you'd rather show the popup in RpcRequestBuilder#doFinish (or
maybe even earlier, such as in doCreate()), and wrap the
RequestCallback in doSetCallback; but if you already have a
RequestBuilder-subclass, then just return it from doCreate)

-- 
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.

Reply via email to