As an additional note: Actually, I needed to load the data one level lower than what was displayed, otherwise the junction images (with the + signs) were not displayed correctly.
Cheers, Dave On Fri, 2006-07-21 at 15:50 +0900, David Leangen wrote: > I also have a very big tree, and it works just fine. > > The secret is to load only the data that is displayed. You need to > override the Tree class (it is made for this) and implement it so that > only the required data is loaded. > > > Good luck! > > > > > On Fri, 2006-07-21 at 13:46 +0800, Rice Yeh wrote: > > Hi, > > I find that the implementation of Wicket.markup.html.tree.Tree is > > not suitable for big tree. It seems because it depends on > > javax.swing.tree.DefaultMutableTreeNode too much, which asks for > > populating the whole tree before rendering > > Wicket.markup.html.tree.Tree. For my case, the tree is very big but > > users just click on some tree paths, so I hope I can just populate the > > tree step by step. However, this seems impossible because > > Wicket.markup.html.tree.Tree renders the tree based on the 'children' > > field in javax.swing.tree.DefaultMutableTreeNode, which I populate in > > the TreeModel's method getChildCount(Object parent). But this way does > > not work. Any suggestion? > > > > Regards, > > Rice > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share your > > opinions on IT & business topics through brief surveys -- and earn cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ Wicket-user mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Wicket-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wicket-user ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
