Action openMode to support THIS_TAB

In the tag for dataGrids, we can specify additional properties for that action such as viewId, openMode, etc. Currently the openMode only support DIALOG and NAVIGATION. But I am using Tabbed Mode Application and I want to open it in the same tab. How can this be achieved ? Do I need to handle it using a ViewBuilder ?

Hi,

Standard actions know nothing about Tabbed Mode add-on as well as about its new API such as ViewBuilders. Note that io.jmix.flowui.view.OpenMode and io.jmix.tabbedmode.view.ViewOpenMode are independent enums.

You have two options:

  1. Extend actions to support new API and use them in XML instead of the standard ones in your views.
  2. Define ActionPerformedEvent handler and open a view programmatically using the ViewBuilders.

Regards,
Gleb