This content has been marked as final.
Show 4 replies
-
1. Re: Context Menu Usage
nbelaevski Dec 17, 2007 2:51 PM (in response to yj4jboss)Yogesh,
You can attach context menu either to the whole tree or to concrete component inside tree. See samples\richfaces-demo for example usage -
2. Re: Context Menu Usage
yj4jboss Dec 18, 2007 12:03 AM (in response to yj4jboss)Hi,
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
For example
event = "click"
Is right click supported ?
Thnx again,
Yogesh -
3. Re: Context Menu Usage
sergeysmirnov Dec 18, 2007 12:08 PM (in response to yj4jboss)Right Click:
event="oncontextmenu"
See the source code of the first demo at:
http://livedemo.exadel.com/richfaces-demo/richfaces/contextMenu.jsf
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 -
4. Re: Context Menu Usage
yj4jboss Dec 19, 2007 8:31 AM (in response to yj4jboss)Worked like a gem ... Thnx