Permalink
Browse files

making sure unmarshallDisconnected flag is passed through index method

too
  • Loading branch information...
1 parent 1d0b886 commit 7c3ac8cff23c1093ed95653d3be31f8c2cd6983b @dima committed Sep 13, 2010
Showing with 5 additions and 3 deletions.
  1. +5 −3 framework/src/org/restfulx/controllers/ModelsController.as
@@ -222,9 +222,10 @@ package org.restfulx.controllers {
state.waiting[fqn] = true;
var service:IServiceProvider = getServiceProvider(targetServiceId);
- var serviceResponder:ServiceResponder = new ServiceResponder(cache.index, service, fqn, onSuccess, onFailure);
+ var serviceResponder:ServiceResponder = new ServiceResponder(cache.index, service, fqn, onSuccess, onFailure,
+ unmarshallDisconnected);
if (customProcessor != null) {
- customProcessor(clazz, serviceResponder, metadata, nestedBy);
+ customProcessor(clazz, serviceResponder, metadata, nestedBy, unmarshallDisconnected);
} else {
invokeService(service.index, service, clazz, serviceResponder, metadata, nestedBy);
}
@@ -523,7 +524,8 @@ package org.restfulx.controllers {
}
var fqn:String = getQualifiedClassName(object);
var service:IServiceProvider = getServiceProvider(targetServiceId);
- var serviceResponder:ServiceResponder = new ServiceResponder(cache.destroy, service, fqn, onSuccess, onFailure);
+ var serviceResponder:ServiceResponder = new ServiceResponder(cache.destroy, service, fqn, onSuccess, onFailure,
+ unmarshallDisconnected);
if (customProcessor != null) {
customProcessor(object, serviceResponder, metadata, nestedBy, recursive);

0 comments on commit 7c3ac8c

Please sign in to comment.