context: qx.Proto._buildPageSearch = function(module, page){  var fsm = module.fsm;  // We need a vertical box layout for the various input fields  var vlayout = new qx.ui.layout.VerticalBoxLayout();  vlayout.set({               overflow: "hidden",               height: 120,               top: 10,               left: 0,               right: 0,               bottom: 10           });  // Create a label for the list of required attributes  var label = new qx.ui.basic.Atom("Search Expression");  label.setHorizontalChildrenAlign("left");  // Add the label to the horizontal layout  vlayout.add(label);  // Create a combo box for entry of the search expression  var filter = new qx.ui.form.TextField();  filter.set({ width:300 });  fsm.addObject("searchExpr", filter);      // Add the combo box to the horizontal layout  vlayout.add(filter);  // Create a label for the list of required attributes  var label = new qx.ui.basic.Atom("Base");  label.setHorizontalChildrenAlign("left");  // Add the label to the horizontal layout  vlayout.add(label);  // Create a combo box for entry of the search expression  var base = new qx.ui.form.TextField();  base.set({ width:300 });  fsm.addObject("baseDN", base);      // Add the combo box to the horizontal layout  vlayout.add(base);  // Create a label for the list of required attributes  var label = new qx.ui.basic.Atom("Scope");  label.setWidth(100);  label.setHorizontalChildrenAlign("left");  // Add the label to the scope vertical layout  vlayout.add(label);  // Use a horizontal box layout to keep the search button aligned  var hlayout = new qx.ui.layout.HorizontalBoxLayout();  hlayout.setWidth(300);  hlayout.setHeight(30);  var cbScope = new qx.ui.form.ComboBoxEx();  cbScope.setSelection([ ["subtree", "Subtree"], ["one", "One Level"], ["base", "Base"]]);  cbScope.setSelectedIndex(0);  fsm.addObject("scope", cbScope);  hlayout.add(cbScope);  // Add a sapcer  hlayout.add(new qx.ui.basic.HorizontalSpacer());  // Create the 'Search' button  var search = new qx.ui.form.Button('Search');  search.setWidth(100);  search.addEventListener("execute", fsm.eventListener, fsm);  // We'll be receiving events on the search object, so save its friendly name  fsm.addObject("search", search, "swat.main.fsmUtils.disable_during_rpc");  // Add the search button to the vertical layout  hlayout.add(search);  vlayout.add(hlayout);  // Add the vlayout to the page  page.add(vlayout);  var ldifview = new swat.module.ldbbrowse.LdifViewer();  ldifview.set({               top: 130,               left: 10,               right: 10,               bottom: 10           });  fsm.addObject("LdifView", ldifview);  // Add the output area to the page  page.add(ldifview);};
meta: 1914	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1914/c2d5d6d04612d8400fd732c71c26c5574fd94cee/Gui.js/clean/webapps/swat/source/class/swat/module/ldbbrowse/Gui.js