« Software is never... | Main | Clearly, something... »

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?

Comments:

The best "FolderTree" I've seen is Ivan Peter's "Joust Outliner." I've used it before in a JSP and just wrote out the JavaScript using scriptlet code (you could probably do it with JSTL these days). http://www.ivanpeters.com/index.htm?page=/joust/advanced/adv3.htm Might be a good addition to struts-menu?

Posted by Matt Raible on August 15, 2003 at 01:37 PM EDT #

See for example Tree taglib in Coldtags suite: http://www.servletsuite.com/jsp.htm

Posted by Marina Prikaschikova on March 12, 2004 at 07:19 PM EST #

try jenkov tree tag.

Posted by Hardy on July 22, 2004 at 04:55 AM EDT #

Post a Comment:
  • HTML Syntax: NOT allowed

« Software is never... | Main | Clearly, something... »

Welcome

This is just one entry in the weblog Blogging Roller. You may want to visit the main page of the weblog

Related entries

Below are the most recent entries in the category Java, some may be related to this entry.