Tapestry5 jQuery provides jQuery Components and can fully replace Prototype and Scriptaculous by jQuery


ContextMenu Mixin


This mixin allows you to use a custom JQuery context menu anywhere in your page.


Name Required Java Type Default Prefix Default Value Description
itemstrueListvarItems to be listed in contextMenu.
triggerfalseStringliteralrightSpecifies the event to show the contextMenu. Possible values: right, left, hover, none.
delayfalseStringliteral200Specifies the time in milliseconds to wait before showing the menu. Only applies to trigger='hover'.
autoHidefalseStringliteralfalseSpecifies if the menu must be hidden when the mouse pointer is moved out of the trigger and menu elements.
zIndexfalseStringliteral1Specifies the offset to add to the calculated zIndex of the trigger element. Set to 0 to prevent zIndex manipulation.
Right-click here to see custom context menu.