| Author |
How do I define what a "right click" will do on my website (eclipse, jsf and richfaces)
|
Matt Kohanek
Village Idiot
Ranch Hand
Joined: Apr 04, 2009
Posts: 483
|
|
I need to define different menu options when a user right clicks on a certain area for a site I am creating.
Is this possible with richfaces or do I need to look into other components? Im not sure where to start
|
True wisdom is in knowing you know nothing - Socrates
|
 |
Tim Holloway
Saloon Keeper
Joined: Jun 25, 2001
Posts: 14487
|
|
Right-click behavior is controlled by JavaScript in the client. Some of the RichFaces controls have defined right-click behaviors (such as right-click menus), some do not. The ones that do simply generate the necessary JavaScript code for you automatically.
It really depends on whether or not the control you're planning to define has built-in right-click support or not. If not, you may be able to attach your own JavaScript to it.
|
Customer surveys are for companies who didn't pay proper attention to begin with.
|
 |
 |
|
|
subject: How do I define what a "right click" will do on my website (eclipse, jsf and richfaces)
|
|
|