rem: if (widget.children[i].widgetType == "Repeater") { var rIndex=widget.children[i].pattern; var rIndexPos=rIndex.indexOf("%{index}"); rIndex=rIndex.substr(0,rIndexPos-1); var myObj = this._getObject(obj, rIndex); if (typeof(myObj) == "object" && typeof(myObj.length) == "undefined") { myObj=[]; } var rowCount = widget.children[i].getRowCount(); if (myObj.length > rowCount) { for (var j=rowCount, len2=myObj.length; j<len2; j++) { widget.children[i].addRow(); } } else if (myObj.length < rowCount) { for (var j=rowCount, len2=myObj.length; j>len2; j--) { widget.children[i].deleteRow(0); } } for (var j=0, len2=myObj.length;j<len2; ++j) { for (var key in myObj[j]) { var prefix = dojo.string.substituteParams(widget.children[i].index, {"index": "" + j}); this._getFormElement(prefix+"."+key).value=myObj[j][key]; } } 
add: var currentWidget=widget.children[i]; if (currentWidget.widgetType == "Repeater") { for(var j=0,len=currentWidget.getRowCount(); j<len; ++j) { currentWidget._initRow(j); } 
context: 		_setToContainers: function (obj, widget) {			for(var i=0, len=widget.children.length; i<len; ++i) {				if (widget.children[i].widgetType == "Repeater") {					var rIndex=widget.children[i].pattern;					var rIndexPos=rIndex.indexOf("%{index}");					rIndex=rIndex.substr(0,rIndexPos-1);					var myObj = this._getObject(obj, rIndex);					if (typeof(myObj) == "object" && typeof(myObj.length) == "undefined") {						myObj=[];					}					var rowCount = widget.children[i].getRowCount();					if (myObj.length > rowCount) {						for (var j=rowCount, len2=myObj.length; j<len2; j++) {							widget.children[i].addRow();						}					} else if (myObj.length < rowCount) {						for (var j=rowCount, len2=myObj.length; j>len2; j--) {							widget.children[i].deleteRow(0);						}					}					for (var j=0, len2=myObj.length;j<len2; ++j) {						for (var key in myObj[j]) {							var prefix = dojo.string.substituteParams(widget.children[i].index, {"index": "" + j});							this._getFormElement(prefix+"."+key).value=myObj[j][key];						}					}				}				if (widget.children[i].isContainer) {					this._setToContainers (obj, widget.children[i]);					continue;				}				switch(widget.children[i].widgetType) {					case "Checkbox":						continue;						break;					case "DropdownDatePicker":						if(widget.children[i].valueNode.value == "") {							widget.children[i].inputNode.value="";							widget.children[i].datePicker.storedDate="";						} else {							widget.children[i].datePicker.setDate(widget.children[i].valueNode.value);							//widget.children[i].datePicker.date=dojo.widget.DatePicker.util.fromRfcDate(widget.children[i].valueNode.value);							widget.children[i].onSetDate();						}						break;					case "Select":						//widget.children[i].setValue(myObj[name]);						continue;						break;					case "ComboBox":						//widget.children[i].setSelectedValue(myObj[name]);						continue;						break;					default:						break;				}			}		},
meta: 4707	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4707/50c3492c4c3c825dbd3401e134a19ed46799c456/Form.js/clean/www/resources/dojo-ajax/src/widget/Form.js