File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes Different type of Tree Views available in JSF Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Different type of Tree Views available in JSF" Watch "Different type of Tree Views available in JSF" New topic

Different type of Tree Views available in JSF

Amit Bhalla

Joined: Dec 01, 2011
Posts: 1

Hi All,

I have got an assignment of showing the parent child relation in tree/graph like component in JSF. But dont know what are the various options available.
The expanded should be good like not like windows explored tree.

As I am newbie to JSF, so I am not aware of the available options.

thanks in Advance
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16460

Welcome to the JavaRanch, Amit! We'd prefer that you employ year real last name on your displayname, however. See

There are 2 ways I could interpret your question.

If you are asking specifically about GUI tree controls, there are no tree controls in the core JSF. However a number of extensions to JSF exist that do implement tree controls as well as other popular GUI control types not supported by basic HTML.

If you are asking about the JSF Component Tree object, that's pretty much a straightforward compilation of the XML that defined the View being processed.

Customer surveys are for companies who didn't pay proper attention to begin with.
David Cheng-Hk

Joined: Dec 02, 2011
Posts: 2
For Tree View, have a look at Apache MyFaces Tomahawk -
They have Tree, Tree2, play with the examples and see if it's what you need.
download and setup tomahawk, the deploy the .war examples

[Thumbnail for tree2.jpg]

subject: Different type of Tree Views available in JSF