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-tp15876468p15908004.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]