Help cuba to jmix

Hello everyone,

So far I have only built Cuba applications
and now check Jmix 2.2 for a new app
and I’m not making any real progress on some very basic things:

Example:
Given a list-detail pair in a module, I’m trying to display the detail window as a popup
instead in the main window (the default behaviour),
which is also explicitly mentioned in the documentation.
In cuba this is a Simple forceDialog setting.
Where is the corresponding setting in jmix???

Other point:
How can I import the styles from my Cuba applications into the
jmix environment??

After a day of trying around, the question arises as to whether jmix already has all the options of the last Cuba version, or whether I would rather wait before using jmix??

I would be grateful for a few tips.

Thanks

Hi Martin

For the list - detail view opening as dialog

In the List view you will find a section with <actions> and a property of an <action> is openMode

         <actions>
            <action id="create" type="list_create">
               <properties>
                  <property name="openMode" value="DIALOG"/>
               </properties>
            </action>

Hope this helps :wink:

Regards

Felix

1 Like

It’s hardly possible. UI widgets and their DOM tree in Jmix 2.2 (based on Vaadin 24) are completely different from CUBA (based on Vaadin 8). You will need to rewrite your CSS selectors.