Treeview Bean Question

Is it possible to programatically select a node? I have a form with a treeview in one tabpanel that is used for navigation and other tabpanels with record view forms to add and edit records in tables bound to the treeview. When I add a record, the new (currently selected) record should be highlighted in the tree.

Look at the “selectionPath” property, you set it to an Array of Primary keys of the nodes to select, and of course if you only want one node to be selected then it will be something like:

elements.theTreeViewBean.selectionPath = [thePKofTheNodeToSelect];

Yes - that does it. Thank you very much.