File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes Is there a tree style component available for jsp? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Is there a tree style component available for jsp?" Watch "Is there a tree style component available for jsp?" New topic
Author

Is there a tree style component available for jsp?

Simon Harvey
Ranch Hand

Joined: Jan 26, 2003
Posts: 79
I'm looking for a component that is similar to the one that is used by microsoft on msdn and is available to those developing using asp.net.
I was wondering if anyone could point me in the right direction. Would such a component be a browser technology, or would it be supplied by whatever language you are developing ineg asp.net
Thanks
Simon
Darryl A. J. Staflund
Ranch Hand

Joined: Oct 06, 2002
Posts: 303
Hi there,
You do have a number of options open to you:
1. There are plenty of free and commercial JavaScript tree controls available.
2. There are plenty of free and commercial Java Applet tree controls available.
3. You could evelop your own Applet-based tree control using Swing's JTree component.
4. If you have a penchant for ColdFusion, it's <CFTREE /> tag implements a Java applet tree control.
5. I could be wrong here but I thought the new Java Server Faces release included with the Java Web Server Developer Pack included a client/server HTTP-based tree control. I could be wrong though.
6. Ditto with the version of JSF released with Struts 1.1.0.
7. There is no default client/server HTTP-based tree control released with .NET 2002 or 2003. However, I do believe there are commercial ones available through companies like infrajistics.
Hope this helps.
Darryl
Simon Harvey
Ranch Hand

Joined: Jan 26, 2003
Posts: 79
Thanks Daryll,
I think I'll look into a couple of free or budget commercial one then
Do you know if these components are just like, slotted into the html. The other important thing is how you interact with them. I'm no Javascript guru - do you think this is how most are interacted with
Thanks for your help
Simon
Darryl A. J. Staflund
Ranch Hand

Joined: Oct 06, 2002
Posts: 303
Hi there,
I don't think I can give an exhaustive answer to that one because the technologies are so varied. I can make some comments though:
1. Some of the Javascript tree controls I have worked with require you to interact with JavaScript directly. Others allow you to work off of datasources and/or configuration files. Many of these use frames and sometimes also DHTML.
2. Applet-based tree controls are just that, i.e. applets that you can embed in your HTML documents. How the applet populates itself varies -- from reading a configuration file, to using RMI or JAXP to read data from the server.
3. The ColdFusion CFTREE tags are essentially text-based interfaces to Java applets. Because they are integrated into ColdFusion, however, they can take advantage of ColdFusion's rich datasource tags to populate its contents from files, HTTP requests, datasources, web services, etc.
4. Rolling your own tree applet from swing would be very complex. I don't recommend it unless you really know what you are doing and can justify the development cost.
I haven't used the commercial tree controls that exist for .NET. Nor have I used JSF.
Hope this helps.
Darryl
 
wood burning stoves
 
subject: Is there a tree style component available for jsp?