SimpleTreeNode in ZK version 7.0.2

asked 2014-08-06 09:47:11 +0800

smartin gravatar image smartin
13 3

updated 2014-08-07 07:30:26 +0800

Hi there,

I am migrating my application from version 3.6.4 to version 7.0.2 and I have found a class that no longer exists, SimpleTreeNode. We use it to create a structure of type Tree. I have tried several options with a TreeModel, but creating an instance of the class TreeModel through the classes AbstractTreeModel or DefaultTreeModel finally the child nodes are null.

Anyone knows an "easy" way to change to the SimpleTreeNode other "similar" class.


delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted

answered 2014-08-07 08:23:00 +0800

chillworld gravatar image chillworld flag of Belgium
5357 4 9

updated 2014-08-07 08:23:56 +0800

Oke, did some searching on Zk doc's and found this.

SimpleTreeModel and SimpleTreeNode are removed

The org.zkoss.zul.SimpleTreeModel and org.zkoss.zul.SimpleTreeNode classes are removed, and replaced with DefaultTreeModel and DefaultTreeNode.

Hope this can help you.

Greetz chill.

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

1 follower



Asked: 2014-08-06 09:47:11 +0800

Seen: 13 times

Last updated: Aug 07 '14

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More