rem: var simpleForm = new Ext.form.Form({ labelWidth: 50, });  simpleForm.column({width:225, labelWidth: 30}, mgedComboBox );  simpleForm.column( {width:355},lookup );  var saveColumn = simpleForm.column({width: 50});  var save = new 	Ext.Button	(saveColumn.getEl(),{text: 'save', tooltip: 'Saves the desired annotation', minWidth: 50, handler: saveHandler });  simpleForm.column(save);   simpleForm.render("eeAnnotator"); 
add: var simpleTB = new Ext.Toolbar("eeAnnotator");  simpleTB.addField(mgedComboBox); simpleTB.addSpacer(); simpleTB.addField(lookup); simpleTB.addSpacer(); simpleTB.addButton({text: 'save', tooltip: 'Saves the desired annotation', handler: saveHandler }); simpleTB.addSeparator(); simpleTB.addButton({text: 'delete', tooltip: 'Removes the desired annotation', handler: deleteHandler }); 
context: Ext.onReady(function() {			eeid = dwr.util.getValue("auditableId"); // turns out to be the EE id		// this will be the case if we're not admins.	if (!eeid) {		return;	}		//the mged combo box 	var mgedComboBox = createMgedComboBox();   		//the lookup combobox	var lookup = createSearchComponent();					var simpleForm = new Ext.form.Form({		labelWidth: 50, // label settings here cascade unless overridden    });								    simpleForm.column({width:225, labelWidth: 30}, mgedComboBox );	simpleForm.column( {width:355},lookup );        var saveColumn = simpleForm.column({width: 50});    //The save button	var save = new 	Ext.Button	(saveColumn.getEl(),{text: 'save',								  tooltip: 'Saves the desired annotation',								  minWidth: 50,								  handler: saveHandler								});	simpleForm.column(save);								       //simpleForm.render(eeGrid.getView().getHeaderPanel(true));    simpleForm.render("eeAnnotator");			});
meta: 2891	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/2891/642b73e7ca3b9d133e5cfdcab094d83c54457074/eeAnnotator.js/clean/gemma-web/src/main/webapp/scripts/ajax/eeAnnotator.js