Blogging Roller

Dave Johnson on open web technologies, social software and software development


JSP-based tree controls?

If you search for HTML tree control on google, you'll find lots of links for JavaScript-based tree controls. To allow tree expansion/collapse without going server-side, these components require that all tree data is downloaded to the browser. This approach is not suitable for situations where your tree has thousands of items. What I'd like to see is a tree control that keeps the tree data on the server-side and allows you to "page next" and "page prev" paging through multiple pages of tree data for tree nodes that have more than a page-full of children.

Searching for JSP tree control, I happened upon the BEA Weblogic Workshop's JSP tree control tag <a href= "http://edocs.bea.com/workshop/docs81/doc/en/workshop/taglib/www.bea.com/workshop/netui-tags-html-1.0/tree.html"> <netui:tree>. The BEA tree control uses an MVC approach where tree data is held in a server-side model baed on a TreeNode interface; close, but not exactly what I want. The BEA control does not seem to support paging. Are there any open source components similar to the BEA tree control?

Tags: Java

Main | Next day (Aug 16, 2003) »