Sounds like a good idea. Shane owns this stuff.
Will look at this today.
I've checked into CVS support for cancelling a remote call. Now when you execute your remote method, you will be returned a Call object, which has the following properties:
data - contains the call in serialized XML form
id - the ID of the call
callback - the callback method reference
asyncReq - the XMLHttpRequest object
There is also a new method, Seam.Remoting.cancelCall() which takes the call ID as a parameter. So, if you want to cancel a call that's been executed you'd do something like this:
var myCall = Seam.Component.getInstance("myActionBean").foo(); // Cancel the call Seam.Remoting.cancelCall(myCall.id);
Make sure you cancel the call this way, and not via the asyncReq's abort() method. Also I haven't had time to test this stuff so let me know if there's any problems.
It's working exactly as I would expect it to. Thanks for doing this so quickly!