 					}
 					if(response.updatedFieldValues != null) {
 						var fieldIdxs:ArrayCollection = response.updatedFieldValues.keySet;
-						for each (var i:int in fieldIdxs) {
-							var f:FieldProxy = a.getField(i);
+						for each (var i:int in fieldIdxs) {
+							var f:FieldProxy = a.getField(i);
 							f.value = response.updatedFieldValues.get(i);
 						}
 						a.errorConfirmed = false;

 */

package org.openforis.collect.model.proxy {
	import flash.utils.Dictionary;
	
	import mx.collections.ArrayCollection;
	import mx.collections.IList;
	import mx.collections.ListCollectionView;
	
	import org.openforis.collect.event.ApplicationEvent;
	import org.openforis.collect.event.EventDispatcherFactory;
	import org.openforis.collect.remoting.service.UpdateRequest;
	import org.openforis.collect.remoting.service.UpdateRequestOperation;
	import org.openforis.collect.remoting.service.UpdateRequestOperation$Method;
	import org.openforis.collect.remoting.service.UpdateResponse;

    [Bindable]
    [RemoteClass(alias="org.openforis.collect.model.proxy.RecordProxy")]

		public function showErrors():void {
			rootEntity.showErrorsOnDescendants();
		}
		
		public function get updated():Boolean {
			return _updated;
		}
		
