Tabbed Application Mode
This add-on allows you to open views in separate tabs inside main view, so multiple views can be opened simultaneously and the user can switch between them. Additionally, multiple views can be opened in the same tab, creating a view stack that is displayed as breadcrumbs.

The Tabbed Application Mode add-on is currently in the experimental state and can change significantly in the next Jmix release. |
Installation
For automatic installation, use a dedicated project template:

For manual installation:
-
Add the following dependency to your
build.gradle
:implementation 'io.jmix.tabbedmode:jmix-tabbedmode-flowui-starter'
-
Change base class of the
MainView.java
fromStandardMainView
toStandardTabbedModeMainView
.import io.jmix.tabbedmode.app.main.StandardTabbedModeMainView; @Route("") @ViewController(id = "MainView") @ViewDescriptor(path = "main-view.xml") public class MainView extends StandardTabbedModeMainView { }
-
In the
main-view.xml
, change thexmlns
attribute value of themainView
element to use theXSD
schema from the add-on:<mainView xmlns="http://jmix.io/schema/tabmod/main-view" title="msg://MainView.title">
Then wrap
initialLayout
intoworkArea
:<workArea id="workArea" classNames="jmix-work-area"> <initialLayout width="100%" height="100%"/> </workArea>
Was this page helpful?
Thank you for your feedback