var lt = type.toLowerCase(); var getType = (type.indexOf(":") < 0 ? function(x) { return x.widgetType.toLowerCase(); } : function(x) { return x.getNamespacedType(); } ); var ret = []; dojo.lang.forEach(this.widgets, function(x){ if(getType(x) == lt){ret.push(x);} }); return ret; } 
var lt = type.toLowerCase(); var getType = (type.indexOf(":") < 0 ? function(x) { return x.widgetType.toLowerCase(); } : function(x) { return x.getNamespacedType(); } ); var ret = []; dojo.lang.forEach(this.widgets, function(x){ if(getType(x) == lt){ret.push(x);} }); return ret; } 
	this.getWidgetsByType = function(type){		var lt = type.toLowerCase();		var getType = (type.indexOf(":") < 0 ? 			function(x) { return x.widgetType.toLowerCase(); } :			function(x) { return x.getNamespacedType(); }		);		var ret = [];		dojo.lang.forEach(this.widgets, function(x){			if(getType(x) == lt){ret.push(x);}		});		return ret;	}
6315	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6315/2f1d2cb699c9d9329e8b782b0463156e211cb0f6/struts_dojo.js.uncompressed.js/buggy/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js.uncompressed.js