• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Different type of Tree Views available in JSF

 
Greenhorn
Posts: 1
Android Eclipse IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Amit
 
Saloon Keeper
Posts: 27763
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to the JavaRanch, Amit! We'd prefer that you employ year real last name on your displayname, however. See http://www.javaranch.com/name.jsp

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.
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
For Tree View, have a look at Apache MyFaces Tomahawk - http://myfaces.apache.org/tomahawk
They have Tree, Tree2, play with the examples and see if it's what you need.


http://myfaces.apache.org/tomahawk/download.html
download and setup tomahawk, the deploy the .war examples

tree2.jpg
[Thumbnail for tree2.jpg]
Tree2 example
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic