• 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

Mouse click on richfaces:tree

 
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear All,

Does someone know where I can get some reading materials about richfaces:tree component detecting the mouseclick event on its nodes?
I have spent sometime searching but haven't found one yet.

Thank you very much.
Frank
 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You might find this link of some use. All the tag information is explained clearly along with the demo. Go to the trees section from the menu. Here is the demo link
 
Frank Truong
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I still puzzled to find the way to make my richfaces' tree behave like a traditional tree of filesystem - right-clicking on the treenode would bring up a pop-up menu containing some desired actions.

I think I need to find out how to pass in an MouseEvent object; so I can detect whether it is a right-click event. Then, my next task is to find out how to create a popup menu in richfaces.

Please advise!

Thank you, all.
Frank
 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

I guess you are asking for context-menu., let me guess, you want some menu to be displayed when you right click on a tree node right?
if that is the case then look for context menu in richfaces.,

Richfaces Context Menu

 
reply
    Bookmark Topic Watch Topic
  • New Topic