Hi Manfred, You have to implement the contextmenus's #select callback trough an ajax-behavior
Here is a basic / fictive example https://github.com/sebfz1/wicket-jquery-ui/blob/master/wicket-jquery-ui-samples/src/test/java/com/googlecode/wicket/jquery/ui/samples/MyJQueryLabel.java#L69 And a concrete / complex example: https://github.com/sebfz1/wicket-jquery-ui/blob/master/wicket-kendo-ui/src/main/java/com/googlecode/wicket/kendo/ui/widget/treeview/AjaxTreeViewBehavior.java#L222 If you are stuck, please create a quickstart in github with your actual work and I will try to help out... Best regards, Sebastien. On Wed, Dec 21, 2016 at 9:15 AM, Manfred Bergmann <m...@software-by-mabe.com> wrote: > OK, I got that solved by creating the ContextMenu subclass as a Java class. > > Now back to the original question. > > > So the context menu also works in the treeview. > Now I'd like to get the node of the treeview where the right-click occured > on. > Looking at the Telerik sample this seems to be possible: > http://docs.telerik.com/kendo-ui/controls/navigation/ > treeview/how-to/show-context-menu > > But I'm not certain how I would do that using the Wicket wrapper or > behavior. > Any hint there? > > > Manfred > > -- > View this message in context: http://apache-wicket.1842946. > n4.nabble.com/Kendo-UI-ContextMenu-in-TreeView-tp4676472p4676489.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >