This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSF Menu and tree components

 
chilakam
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Can anyone have a sample piece of code for creating jsf menu and tree components.

Thanks
Suresh
 
rajani varma
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Suresh,
Here is a sample code to create a JSF Menu using tomahawk <t:tree> component. In the JSP,


In the backing bean,


Hope this is what you are looking for. Or else there are some previously discussed topics on jsf menu using tree component. Please refer those also.

Thanks,
Rajani.
 
Bert Bates
author
Sheriff
Posts: 8898
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi chilakam,

Please update your display name to match the JavaRanch policy (you must have a first and last name).

Thanks, and welcome to the ranch!

Bert
 
Ali Al Ali
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's great but how to add an action to the tree nodes???
 
Peter Fat
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!

I know this post is quite old, but does someone has an answer to Ali Al Ali? I need to do a JSF menu and I'm walking on the dark here...

Thanks!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic