rem: } 
add: }; 
context: var createFactorValueComboBox = function(){				var     recordType = Ext.data.Record.create([				   		{name:"id", type:"int"},                       	{name:"factorValue", type:"string"},                       	{name:"description", type:"string"},                       	{name:"category", type:"string"}               ]);									                    	                factorValueComboDS = new Ext.data.Store(               {                       proxy:new Ext.data.DWRProxy(ExpressionExperimentController.getFactorValues),                       reader:new Ext.data.ListRangeReader({id:"id"}, recordType),                       remoteSort:false,                       sortInfo:{field:'factorValue'}               });               															    var combo = new Ext.form.ComboBox({						    	width: 200,				    						        store: factorValueComboDS,					        fieldLabel: 'Factor Values',					        displayField:'factorValue',					        typeAhead: true,					        mode: 'local',					        triggerAction: 'all',					        emptyText:'Factor Values',					        selectOnFocus:true,					        editable: false					    });						    						    								    var comboHandler = function(field,record,index){					    											selectedFactorValueId = record.id;							assignFactorValueToBioMaterialButton.enable();									    								      						 					    	                            	                };    	                						  	 	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