coreRuntime/src/sc/sync/SyncManager.java
public static void registerSyncTree(Object res) {
      SyncManager.registerSyncInst(res);
      // Need to register this entire tree with the sync system, at least as far as it is sync'd.
      Object[] children = DynUtil.getObjChildren(res, null, true);
      if (children != null) {
         for (Object child:children) {
            registerSyncTree(child);
         }
      }
   }
/**
    * This method is used to register an instance and it's children with the sync system so the new object requests are not
    * sent to the remote side. For example, a repeat tag or other UI component created on both client and server might have
    * synchronized sub-objects somewhere in the tree.
    * Calling this method marks the tree of declarative instances as "not new". If you see these 'new' operations coming across
    * for child components, either the object needs to be synchronized or registered as available either directly or through
    * it's parent using this method.
    */
This method is used to register an instance and it's children with the sync system so the new object requests are not
sent to the remote side. For example, a repeat tag or other UI component created on both client and server might have
synchronized sub-objects somewhere in the tree.
Calling this method marks the tree of declarative instances as "not new". If you see these 'new' operations coming across
for child components, either the object needs to be synchronized or registered as available either directly or through
it's parent using this method.
This method is used to register an instance and it ' s children with the sync system so the new object requests are not sent to the remote side . For example a repeat tag or other UI component created on both client and server might have synchronized sub - objects somewhere in the tree . Calling this method marks the tree of declarative instances as " not new " . If you see these ' new ' operations coming across for child components either the object needs to be synchronized or registered as available either directly or through it ' s parent using this method .
public static void registerSyncTree(Object res) {
      SyncManager.registerSyncInst(res);
      Object[] children = DynUtil.getObjChildren(res, null, true);
      if (children != null) {
         for (Object child:children) {
            registerSyncTree(child);
         }
      }
   }
public static void registerSyncTree ( Object res ) { SyncManager . registerSyncInst ( res ) ; Object [ ] children = DynUtil . getObjChildren ( res , null , true ) ; if ( children != null ) { for ( Object child : children ) { registerSyncTree ( child ) ; } } }
This method is used to register an instance and it's children with the sync system so the new object requests are not
 sent to the remote side.
This method is used to register an instance and it ' s children with the sync system so the new object requests are not sent to the remote side .
// Need to register this entire tree with the sync system, at least as far as it is sync'd.