Tuesday, January 31, 2012

Re: GWT and method overriding

The override has been there all along (I was hoping it wasn't), I just forgot to put it in my sample code.  The callback instance is defined as:

dispatch.execute(someAction, new MyCallback<someActionResult>() {
   // implementation of a couple abstract methods from MyCallback

  public void handleException(SomeException ex) {
    // do actual work here

Not sure if it matters, but the callback code above is behind an application split point.  
We're using GWT 2.4.0.

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/-/KV5AcBDV-9UJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment