0

zk6 tree

asked 2012-06-21 09:40:40 +0800

creata87 gravatar image creata87
197 2

updated 2012-06-21 10:31:46 +0800

neata :)

the zk6 tree has a new behavior compared to the zk5 tree, it loads the whole tree from the beginning instead of level by level as the zk5 tree.

when rendering the tree, it tries to load all children of all children of all children and so on of the node to be opened. why is that and how can it be avoided?

the zk5 tree always loads only one level of children and goes no further.

delete flag offensive retag edit

4 Replies

Sort by ยป oldest newest

answered 2012-06-22 04:22:41 +0800

Jales gravatar image Jales
161 1

Does this happen after you migrate the existing application using ZK5 to the ZK6 library?

link publish delete flag offensive edit

answered 2012-06-22 07:49:55 +0800

creata87 gravatar image creata87
197 2

..yes, i upgraded to zk6. you think it's just a migration problem?

link publish delete flag offensive edit

answered 2012-06-28 14:51:00 +0800

creata87 gravatar image creata87
197 2

..just tested it out. unfortunately it's not a migration problem, i would say it is a bug of the zk6

i'm displaying a file system tree so you can image how much time it needs to load when opening one directory the zk6 tree loads all levels down to the last of its descendants, which should no happen. one level of children is enough, and other levels should be loaded only when needed to be displayed.

anyone knows a quick fix to this or is it in fact a bug of the zk6?

link publish delete flag offensive edit
link publish delete flag offensive edit
Your reply
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

Follow

RSS

Stats

Asked: 2012-06-21 09:40:40 +0800

Seen: 221 times

Last updated: Jul 27 '12

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