rem: } 
add: }; 
context: var createFactorComboBox = function(terms){												var     recordType = Ext.data.Record.create([					   {name:"id", type:"int"},                       {name:"factorValue", type:"string"},                       {name:"description", type:"string"},                       {name:"category", type:"string"}               ]);									                    	                factorComboDS = new Ext.data.Store(               {                       proxy:new Ext.data.DWRProxy(ExpressionExperimentController.getExperimentalFactors),                       reader:new Ext.data.ListRangeReader({id:"id"}, recordType),                       remoteSort:false,                       sortInfo:{field:'factorValue'}               });               				factorComboDS.load({params:[{id:eeID, classDelegatingFor:"FactorValueObject"}]});											    var combo = new Ext.form.ComboBox({						    	width: 200,				    						        store: factorComboDS,					        fieldLabel: 'Factors',					        displayField:'factorValue',					        typeAhead: true,					        mode: 'local',					        triggerAction: 'all',					        emptyText:'Available Factors',					        selectOnFocus:true,					        editable: false					    });						    					   			    			var comboHandler = function(field,record,index){					    													selectedFactorId = record.id;							factorValueComboDS.reload({params:[{id:selectedFactorId, classDelegatingFor:"FactorValueObject"}]});							factorValueCB.reset();							bmGridRefresh(selectedFactorId);							assignFactorValueToBioMaterialButton.disable();					    								      						 					    	                            	                };    	                						  	 	combo.on('select', comboHandler);					    					    return combo;		}
meta: 2891	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/2891/be9281e329091b6b2acab42fc6adc92cf890bac4/ExperimentalDesign.js/clean/gemma-web/src/main/webapp/scripts/ajax/ExperimentalDesign.js