Use mousedown event
Use mousedown event

The contextmenu is only trigged when the context menu is shown. That
means that we are always one click behind (our context menu entry is
updated too late) and are likely to open the wrong element.

cleiter/wicketsource-contextmenu