rem: var formView = new pageInfoOutlinerView(["form-number","form-name","form-action","form-method"]); var fieldView = new pageInfoOutlinerView(["field-number","field-label","field-field","field-type","field-value"]); formOutliner.outlinerBoxObject.view = formView; formPreview.outlinerBoxObject.view = fieldView; 
add: var formView = new pageInfoTreeView(["form-number","form-name","form-action","form-method"]); var fieldView = new pageInfoTreeView(["field-number","field-label","field-field","field-type","field-value"]); formTree.treeBoxObject.view = formView; formPreview.treeBoxObject.view = fieldView; 
context: function makeFormTab(){  var formOutliner = document.getElementById("formoutliner");  var formPreview = document.getElementById("formpreview");    var formView = new pageInfoOutlinerView(["form-number","form-name","form-action","form-method"]);  var fieldView = new pageInfoOutlinerView(["field-number","field-label","field-field","field-type","field-value"]);  formOutliner.outlinerBoxObject.view = formView;  formPreview.outlinerBoxObject.view = fieldView;  formList = grabAllForms(theWindow, theDocument);  formIndex = 0;  var length = formList.length;  for (var i = 0; i < length; i++)  {    var elem = formList[i];    formView.addRow([++formIndex, elem.name, elem.method, elem.action]);  }  formView.rowCountChanged(0, length);  formView.selection.select(0);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/3e34849f77f94528fe693f9ebabe73999df60035/pageInfo.js/buggy/suite/browser/pageInfo.js