Foren
Liferay 7-GA3 - external link (Linktarget) for Control Menu
M T, geändert vor 7 Jahren.
Liferay 7-GA3 - external link (Linktarget) for Control Menu
New Member Beiträge: 11 Beitrittsdatum: 02.11.16 Neueste Beiträge
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
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