Skip to main content
OP_Prepress
Inspiring
February 4, 2016
Answered

Update Panel Flyout Menu

  • February 4, 2016
  • 2 replies
  • 1286 views

Hello everybody,

for internatinalization of out Panel I need to change the labels of the Flyoutmenu.

The updatePanelMenuItem function uses the menuItemLabel as identifier, i think - why not the MenuItem ID?!

So my question is:

Is it possible to change the FlyoutMenuItem label?

Thanks!

This topic has been closed for replies.
Correct answer Loic.Aigon

Hi,

an alternative would be to first clear the menu then load a localized version of your  menu XML string.

CSLibrary.setPanelFlyoutMenu("", setPanelCallback);

Then

CSLibrary.setPanelFlyoutMenu(myLocaleXMLmenuString, setPanelCallback);

Loic

http://www.ozalto.com

2 replies

schroef
Inspiring
March 27, 2020

Im confused about this feature. i see updateContextMenuItem in CSInterface, but I'm not sure how to call it. Im trying to trigger the update. Adding a function by onclick=updateMenuItem()" doesn't do anything.

Loic.Aigon
Loic.AigonCorrect answer
Legend
February 4, 2016

Hi,

an alternative would be to first clear the menu then load a localized version of your  menu XML string.

CSLibrary.setPanelFlyoutMenu("", setPanelCallback);

Then

CSLibrary.setPanelFlyoutMenu(myLocaleXMLmenuString, setPanelCallback);

Loic

http://www.ozalto.com

OP_Prepress
Inspiring
February 19, 2016

Thank you!

I was thinking about sth. in that direction, too.

I think this will be my way.