Hi there,
in 2.x the following previously existing common pattern seems to be broken:
Entities: Customer 1:N Order (composition)
View: CustomerListView, CustomerDetailView, OrderDetailView
Now when I want to open the OrderDetailView not in the dialog, but as a regular full-screen view, it does not hold the tempary state of the customer object anymore. Instead it asks if I want to save the entity before closing the window:
- entering information about the customer and clicking the create order button
- order detail view is not opened
The only thing I changed over the generated code from studio:
<actions>
<action id="create" type="list_create" />
<action id="edit" type="list_edit" />
<action id="remove" type="list_remove"/>
</actions>
instead of letting it open via dialog.
Does that mean that nested views are not supported any longer in Vaadin 24?
Attached you can find an example app:
jmix-flowui-problem-composition-ui-without-dialog.zip (461.6 KB)
Thanks,
Mario