// reset any previous bindings
this.setAttribute("__component_contents",[]);
Debug.write("autocompletecombobox got datapath = ",this.datapath.xpath);
Debug.write("The float box : ",myFloatBox);
myFloatBox.setAttribute('datapath', this.datapath.xpath);
var isShowing = myFloatBox.visible;
if(isShowing) {
myFloatBox.setAttribute("visible",false);
} else {
var theDictionary = this.__component_contents;
if(typeof item == 'undefined'){
var item = null;
}
for(item in theDictionary) {
var the_object = theDictionary[item];
the_object.setAttribute("visible",true);
}
myFloatBox.setAttribute("visible",true);
}
Debug.write("focused..");
this.setSelection(0,this.text.length);
Debug.write("clicked..");
this.setSelection(0,this.text.length);
46) {
// warning numlock seems to cause a focus here also...
// todo lookup the numlock keycode...
classroot.myFloatBox.setAttribute("visible",true);
var theInput = this.text;
this.setAttribute("actuallyTyped",theInput);
Debug.write( "What was actually typed... "+this.actuallyTyped);
computeBox(theInput);
}
]]>
Debug.write("wtf? classroot = ",parent);
Debug.write("floatinglist got data = ",this.data);
var childXPath = this.datapath.xpath + "/"+owner.contentpath;
this.replicated_textitem.setAttribute('datapath', childXPath);
parent.owner.__component_contents[this.data] = this;
Debug.write("onselect ",this.data);
parent.owner.theeditor.actual.setAttribute('text', this.data);
var actualTyped = parent.owner.theeditor.actual.actuallyTyped;
parent.owner.theeditor.actual.setSelection(actualTyped.length,this.data.length);
Debug.write("onclick ",this.data);
this.parent.setAttribute("visible",false);