You can attach context menu either to the whole tree or to concrete component inside tree. See samples\richfaces-demo for example usage
Thnx for the hint. I was just wondering. Would it be possible to trigger the context menu with a right click. I could see that the event attribute is being used
event = "click"
Is right click supported ?
See the source code of the first demo at:
The second example shows how to share and parametrize the same instance of the context menu. rich:componentControl allow to use event="oncontextmenu" as well
Worked like a gem ... Thnx