Yep. I have that working just as you described below. Glad I'm doing it correctly.
Thanks > -----Original Message----- > From: Doug Leeper [mailto:[EMAIL PROTECTED] > Sent: Friday, March 07, 2008 5:43 PM > To: [email protected] > Subject: RE: right click popup context menu > > > > In the populateItem, you will need to do the following: > > > contextMenuBehavior.applyAttributes(item, popupMenu, new Model( > rowId)); > > Where rowId is the value you are looking for when the action has been > selected (the targetId in the onClick method) > > private class MyAction extends AbstractYuiMenuAction implements > IYuiMenuAjaxAction { > > public void onClick(AjaxRequestTarget target, String targetId) { > // targetId == the rowId in applyAttributes > } > } > -- > View this message in context: > http://www.nabble.com/right-click-popup-context-menu-tp15876468p15 > 908004.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
