Hi, I'm using the LinkTree for navigation and will in some cases have lots of data so therefor I want to Lazy load the children of a parent. So far I have extended the DefaultMutableTreeNode and overridden isLeaf to fake if a node have children. Now I want to show a spinner in the tree add the children and remove the spinner. Where would be the best way of doing this?
I have added a treeStateListener add in the nodeExpanded added children to the node but here there is no AjaxRequestTarget. If see that BaseTree has protected Component newJunctionLink(MarkupContainer parent, final String id, final Object node); Will this be the correct way of Lazy loading children with a spinner? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Lazyloading-node-in-LinkTree-tp3554470p3554470.html Sent from the Users forum mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
