Fórum

Liferay 7-GA3 - external link (Linktarget) for Control Menu

M T, modificado 7 Anos atrás.

Liferay 7-GA3 - external link (Linktarget) for Control Menu

New Member Postagens: 11 Data de Entrada: 02/11/16 Postagens Recentes
Hi Community,

I'm trying to change a links target on the control menu. Basically I'm following the dev tutorial Customizing Control Menu.

When I inspect the source code I notice that the "target" attribute of the link is set to "_self". I would like to set the "target" attribute to a different value. Is there any property or the like to achieve this? Do I have to override a certain method of ProductNavigationControlMenuEntry?
How in general can I customize the links behaviour regarding attributes like "onclick" or how about adding new attributes?

Thanks a lot!

MT