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
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
I took the following classes from the tree example to implement a selectable
tree:
- Foo
- FooExpansion
- FooProvider
- SelectableFolderContent
Now I'd like to test the tree with WicketTester:
- click on the plus sign of a node; does the sub tree open? Are the children
visible?
- click