Re: Wicket context menu component

2013-06-17 Thread bronius
()); break; } } }; Big thanks and best regards! :) bronius -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-context-menu-component-tp4659306p4659541.html Sent from the Users forum mailing list archive

Re: Wicket context menu component

2013-06-17 Thread Sebastien
Hi Bronius, You're welcome! Yes, the usage you performed is the intended one. In your case however, maybe you can optimize it, because when a menu-item is clicked, both IMenuItem#onClick() and Menu#onClick() are triggered (in that order). So instead of a 'switch' statement in Menu#onClick(), you

Re: Wicket context menu component

2013-06-17 Thread bronius
Yes I agree, thanks again :) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-context-menu-component-tp4659306p4659544.html Sent from the Users forum mailing list archive at Nabble.com

Re: Wicket context menu component

2013-06-15 Thread Sebastien
that context menu behavior could be added to link component and then from that behavior I could invoke link's onClick lets say. How would you would go forward from here for that kind of use case? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-context-menu-component

Re: Wicket context menu component

2013-06-12 Thread bronius
://apache-wicket.1842946.n4.nabble.com/Wicket-context-menu-component-tp4659306p4659436.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional

Re: Wicket context menu component

2013-06-11 Thread bronius
(); } public String getKey() { return this.key; } } } -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-context-menu-component-tp4659306p4659381.html Sent from the Users forum mailing list archive at Nabble.com

Re: Wicket context menu component

2013-06-11 Thread Sebastien
Hi, glad to read it is almost working :) getQueryParameterValue(options) does return anything because it's not transmitted server side (due to CallbackParameter.context(options), which does not pass the parameter to the ajax callback). But even you did transmit it, you probably got an [object]

Re: Wicket context menu component

2013-06-10 Thread Sebastien
even on the right track? Is it good approach? Im sorry if this is stupid question :) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-context-menu-component-tp4659306.html Sent from the Users forum mailing list archive at Nabble.com

Re: Wicket context menu component

2013-06-10 Thread Martin Grigorov
.1842946.n4.nabble.com/Wicket-context-menu-component-tp4659306.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

Re: Wicket context menu component

2013-06-10 Thread bronius
-context-menu-component-tp4659306p4659334.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

Re: Wicket context menu component

2013-06-10 Thread Sebastien
chosen. How would you implement this? Also am I even on the right track? Is it good approach? Im sorry if this is stupid question :) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-context-menu-component-tp4659306.html Sent from

Re: Wicket context menu component

2013-06-10 Thread Sebastien
understand what separate methods do, but because of my inexperience I lack bigger picture understanding how everything works together. Any help is really appreciated :) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-context-menu-component-tp4659306p4659334.html

Wicket context menu component

2013-06-09 Thread bronius
and which menu item he have chosen. How would you implement this? Also am I even on the right track? Is it good approach? Im sorry if this is stupid question :) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-context-menu-component-tp4659306.html Sent from