1
votes

Is it possible to make <t:tree2> tree node selectable? I would need to select a node, and based on this selection to print out certain info on the page.

1

1 Answers

1
votes

The Myfaces Wiki - Tree2 says

"Almost any type of JSF component (text, image, checkbox, etc.) can be rendered inside the nodes"

So I guess you you can place a button for example and use it for interacting and showing the needed data

I haven't worked with Tomahawk nor its tree2... but I think whatever i suggested would work for any tree... Also.. i'm not so sure that Tomahawk is the library to be used for fancy web app... You should check primefaces component library its for JSF 2 and its showcase is amazingly BIG and RICH... take a look at their tree , it got all you ever wanted and event more

PRIMEFACES Tree - Single Selection

PRIMEFACES Tree