rem: dbName.dispatchEvent(new qx.event.type.Event("changeSelection"), 
add: dbName.dispatchEvent(new qx.event.type.Event("changeSelected"), 
context:       "onentry" :        function(fsm, event)        {          // Did we just return from an RPC request?          if (fsm.getPreviousState() == "State_AwaitRpcResult")          {            // Yup.  Display the result.  We need to get the request object            var rpcRequest = _this.popRpcRequest();            // Display the result            var gui = swat.module.ldbbrowse.Gui.getInstance();            // Did we get a Resource Not Found error?  We'll get this after a            // session timeout, because the request is retried but can't            // succeed because the database has been closed by the session            // timing out.            var result = rpcRequest.getUserData("result");            var origins = swat.main.AbstractModuleFsm.JsonRpc_Origin;            var serverErrors = swat.main.AbstractModuleFsm.JsonRpc_ServerError;            if (result.type == "failed" &&                result.data.origin == origins.Server &&                result.data.code == serverErrors.ResourceError)            {              // Yup.  Re-open the database              var dbName = fsm.getObject("dbName");              dbName.dispatchEvent(new qx.event.type.Event("changeSelection"),                                   true);            }            else            {              // Otherwise, display the result              gui.displayData(module, rpcRequest);            }            // Dispose of the request            rpcRequest.request.dispose();            rpcRequest.request = null;          }        },
meta: 1914	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1914/c0b76be62fda2c379c5a5b2e682de2929d0ba7dd/Fsm.js/buggy/webapps/swat/source/class/swat/module/ldbbrowse/Fsm.js