On Wed, Apr 16, 2008 at 3:49 PM, kanugula <[EMAIL PROTECTED]>
wrote:
>
> Hi,
>
> When is the "failed" event called in Rpc? I am trying to see if it is
> beneficial to me for code refactoring in my Remote Table. When my Remote
> Service throws RemoteException, Rpc.js swallows it as "completed" event
> with
> exception. Shouldn't it dispatch to "failed" event?
>
> rpc.addEventListener("failed", function(evt) {
> alert(evt); //I couldn't find any test case for failed event
> },this);
>
It looks like you'll get a "failed" event for any of the reasons that cause
qx.io.remote.Exchange.wasSuccessful() to return false (look at that
function), along with a couple of other causes.
Derrell
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel