treeModel().setDelegate(valueForBinding("delegate")); if (hasBinding("allExpanded")) { treeModel().setAllExpanded(AjaxUtils.booleanValueForBinding("allExpanded", false, _keyAssociations, parent())); } if (hasBinding("rootExpanded") || hasBinding("showRoot")) { treeModel().setRootExpanded(AjaxUtils.booleanValueForBinding("rootExpanded", false, _keyAssociations, parent()) || !AjaxUtils.booleanValueForBinding("showRoot", true, _keyAssociations, parent())); } treeModel().setIsLeafKeyPath(stringValueForBinding("isLeafKeyPath", null)); treeModel().setParentTreeNodeKeyPath(stringValueForBinding("parentKeyPath", null)); treeModel().setChildrenTreeNodesKeyPath(stringValueForBinding("childrenKeyPath", null)); treeModel().setRootTreeNode(valueForBinding("root")); setItem(treeModel().rootTreeNode());
	protected void resetTree() {		_level = 0;		_closeCount = 0;		_lastParent = null;		_item = null;	}