In the TL demo in the "Tables:Simple" view or in Prime, bookmark links to specific objects can be generated. For this purpose an asterisk is rendered. In IE you can click this normally, which allows you to save the link as a favorite. In all other browsers you have to copy the link via the browser context menu instead. But this doesn't work now, because the browser context menu is also replaced by the TL context menu at this point (e.g. because of the surrounding edit component).
So there must be a general possibility to mark up a DOM element (e.g. via a CSS class) in such a way that the TL context menu is suppressed there, so that the normal browser context menu becomes available again. This possibility must then be used when rendering the bookmark links(com.top_logic.layout.basic.BookmarkRenderer.writeBookmarkIcon(DisplayContext, TagWriter, LabelProvider, Object, BoundComponent)).
Improvement
When opening a context menu, ajax-form.js > openContextMenu now checks on the client side whether the data attribute data-browser-menu is set or true. In this case, the browser context menu is displayed instead of the TL context menu.
Application
Elements that should also display the browser context menu in the future can be marked with the corresponding attribute com.top_logic.mig.html.HTMLConstants.TL_BROWSER_MENU_ATTR. An example of this is now implemented in com.top_logic.layout.basic.BookmarkRenderer.writeBookmarkIcon(DisplayContext, TagWriter, LabelProvider, Object, BoundComponent):
{{#!java out.writeAttribute(TL_BROWSER_MENU_ATTR, true); }}}
Test
Under Table > Simple try to add a bookmark by right clicking. This must open the context menu of the browser.