Hi,
I implemented a tree component similar to the SelectableFolderContent example
(http://www.wicket-library.com/wicket-examples-6.0.x/tree/wicket/bookmarkable/org.apache.wicket.examples.tree.NestedTreePage).
It works fine as long as the nodes do have unique names. If thehe is more then
one
What is the generic parameter of your ITreeProvider ?
Sven
v...@gmx.it schrieb:
Hi,
I implemented a tree component similar to the SelectableFolderContent example
(http://www.wicket-library.com/wicket-examples-6.0.x/tree/wicket/bookmarkable/org.apache.wicket.examples.tree.NestedTreePage).
It's a custom Node class, pretty similar to Foo in the example. I resolved this
by adding a second attribute name to Node. name is returned by
Node.toString() for display. The id attribute is set to
hierarchy1.hierarchy2.name. So the id is unique: Selection works as expected.
Regards
Oliver