rem: var treeString = ORBEON.util.Dom.getStringValue(tree); 
add: var treeString = ORBEON.util.Dom.getStringValue(treeDiv); 
context:     _tree: function(tree) {        // Save in the control if it allows multiple selection        tree.xformsAllowMultipleSelection = ORBEON.util.Dom.hasClass(tree, "xforms-select");        // Parse data put by the server in the div        var treeString = ORBEON.util.Dom.getStringValue(tree);        treeString = ORBEON.util.String.replace(treeString, "\n", " ");        treeString = ORBEON.util.String.replace(treeString, "\r", " ");        var treeArray = eval(treeString);        ORBEON.util.Dom.setStringValue(tree, "");        tree.value = "";        // Create, populate, and show the tree        var yuiTree = new YAHOO.widget.TreeView(tree.id);        ORBEON.xforms.Globals.treeYui[tree.id] = yuiTree;        var treeRoot = yuiTree.getRoot();        ORBEON.xforms.Init._addToTree(tree, treeArray, treeRoot, 0);        // Make selected nodes visible        var values = tree.xformsAllowMultipleSelection ? tree.value.split(" ") : [ tree.value ];        for (nodeIndex in yuiTree._nodes) {            var node = yuiTree._nodes[nodeIndex];            if (xformsArrayContains(values, node.data.value)) {                var nodeParent = node.parent;                while (nodeParent != null) {                    nodeParent.expand();                    nodeParent = nodeParent.parent;                }            }        }        // Register event handler for click on label        yuiTree.subscribe("labelClick", ORBEON.xforms.Events.treeLabelClick);        // Save value in tree        tree.previousValue = tree.value;        yuiTree.draw();        ORBEON.util.Dom.removeClass(tree, "xforms-initially-hidden");    },
meta: 7801	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/7801/52c8421abaf274452f0a78c79c8723b43f6443d8/xforms.js/clean/src/resources-packaged/ops/javascript/xforms.js