rem: Ext.onReady(function() {  eeID = dwr.util.getValue("expressionExperimentID"); edID = dwr.util.getValue("experimentalDesignID");   expFactorsCB = createFactorComboBox();   factorValueCB = createFactorValueComboBox();   var simpleTB = new Ext.Toolbar("eDesign");  simpleTB.addField(expFactorsCB); simpleTB.addSpacer(); simpleTB.addField(factorValueCB); simpleTB.addSpacer(); assignFactorValueToBioMaterialButton = simpleTB.addButton({text: 'assign', tooltip: 'assigns the selected Factor Value to the selected BioMaterials', handler: saveFactorValueToBMHandler, disabled: true });   initBioMaterialGrid("bmGrid");   initFactorGrid("factorGrid"); var factorTB = new Ext.Toolbar("factorGridTB");  factorTB.addField(createMgedComboBox()); factorTB.addSpacer(); factorTB.addField(createFactorDescriptionField()); factorTB.addSpacer(); saveNewFactorButton = factorTB.addButton({text: 'create', tooltip: 'creates a new Experimental Factor', handler: saveExperimentalFactor, disabled: true }); factorTB.addSpacer(); removeFactorButton = factorTB.addButton({text: 'remove', tooltip: 'removes the selected Experimental Factor', handler: deleteExperimentalFactor, disabled: true });  initFactorValueGrid("factorValueGrid");   var factorValueTB = new Ext.Toolbar("factorValueTB");  factorValueTB.addField(createOntologySearchComponent()); factorValueTB.addSpacer(); saveNewFactorValueButton = factorValueTB.addButton({text: 'create', tooltip: 'creates a new Experimental Factor Value', handler: saveExperimentalFactorValue, disabled: true }); factorValueTB.addSpacer(); removeFactorValueButton = factorValueTB.addButton({text: 'remove', tooltip: 'removes the selected Experimental Factor Value', handler: deleteExperimentalFactorValue, disabled: true });    }); 
add: factorValueComboDS.reload({params:[{id:selectedFactorId, classDelegatingFor:"Long"}]}, function() {factorValueCB.getView().refresh(true)} ); 
context: Ext.onReady(function() {	eeID = dwr.util.getValue("expressionExperimentID");	edID = dwr.util.getValue("experimentalDesignID");		//the mged combo box 	expFactorsCB = createFactorComboBox();   		//the lookup combobox	factorValueCB = createFactorValueComboBox();			//The tool bar. 	var simpleTB = new Ext.Toolbar("eDesign");		simpleTB.addField(expFactorsCB);	simpleTB.addSpacer();	simpleTB.addField(factorValueCB);	simpleTB.addSpacer();	assignFactorValueToBioMaterialButton = simpleTB.addButton({text: 'assign',						tooltip: 'assigns the selected Factor Value to the selected BioMaterials',								  						handler: saveFactorValueToBMHandler,						disabled: true					});											initBioMaterialGrid("bmGrid");					initFactorGrid("factorGrid"); 	 	 	var factorTB = new Ext.Toolbar("factorGridTB");		factorTB.addField(createMgedComboBox());	factorTB.addSpacer();	factorTB.addField(createFactorDescriptionField());	factorTB.addSpacer();	saveNewFactorButton = factorTB.addButton({text: 'create',						tooltip: 'creates a new Experimental Factor',								  						handler: saveExperimentalFactor,						disabled: true					}); 	factorTB.addSpacer();	removeFactorButton = factorTB.addButton({text: 'remove',						tooltip: 'removes the selected Experimental Factor',								  						handler: deleteExperimentalFactor,						disabled: true					});						initFactorValueGrid("factorValueGrid");	var factorValueTB = new Ext.Toolbar("factorValueTB");		factorValueTB.addField(createOntologySearchComponent());		factorValueTB.addSpacer();	saveNewFactorValueButton = factorValueTB.addButton({text: 'create',						tooltip: 'creates a new Experimental Factor Value',								  						handler: saveExperimentalFactorValue,						disabled: true					}); 	factorValueTB.addSpacer();	removeFactorValueButton = factorValueTB.addButton({text: 'remove',						tooltip: 'removes the selected Experimental Factor Value',								  						handler: deleteExperimentalFactorValue,						disabled: true					}); 			});
meta: 2891	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/2891/69f5dae4718ba723b78dce773d7d44968a2e43ba/ExperimentalDesign.js/clean/gemma-web/src/main/webapp/scripts/ajax/ExperimentalDesign.js