dbtreeview - selectionPath

Hi,

Does anybody know if it is possible to set the selectionPath of the DBTreeView bean to select more than one node at a time? If I press ctrl I can click on it and select several nodes at once, but I can’t see any way of achieving this using selectionPath.

Thanks,

Nick

Why would you want to do that? Every click on a node can fire a method. What should happen if you have two selected nodes?

Yes, when I click on a single node it calls a method, but I have also written a search feature, and was wondering if it was possible to highlight more than one node if more than one part of a tree came up in the search results. So selecting > 1 node would just be for display purposes rather than calling any function.

Thanks,

Nick

While the JTree component that lies below the DBTreeView bean can handle this, the bean itself cannot. So no, for now you can’t figure out several selected nodes (as far as I see).

OK, I can just show the nodes that come up in the result in a text list, so its easy to get round. Thanks for clarifying,

Nick