How to make BrowserWindowOpener extend on MenuItem

Hello,

I am designing a menubar to allow users to click on a menuitem to open a browserwindow. However, I found that BrowserWindowOpener.extend only allow AbstractComponent as target, not MenuItem. Any advices how to achieve such scenario?

Best regards,
Joey

Have you considered another approach. You could add MenuBar.Command to MenuBar.MenuItem, where you call Page.open(…) method to open a new browser window.

That will do. Thanks a lot.

Joey