Forums de discussion

AUI Context menu on portlet

sungung park, modifié il y a 13 années.

AUI Context menu on portlet

New Member Envoyer: 1 Date d'inscription: 16/10/10 Publications récentes
Hi all,

I have own portlet, it is required to implement AUI context menu when user select image on portlet. I was trying the blow code but couldn't make it.

Can anybody shed light on my issue?


	AUI().ready(("myimageclass", function() {

		var aMenuItems = ["menu1", "menu2", "menu3"];

		var oContextMenu = new A.widget.ContextMenu(
							"mnucar",
							{
								trigger: 'myimageclass',
								itemdata: aMenuItems,
								lazyload: true
							}
		);
	});
thumbnail
jelmer kuperus, modifié il y a 13 années.

RE: AUI Context menu on portlet

Liferay Legend Publications: 1191 Date d'inscription: 10/03/10 Publications récentes
I did a grep on the liferay codebase and nowhere can I find a reference to ContextMenu. So it is definitely not supported