@DialogMode annotation doesn't work in Add-On modules

Hi, I have noticed a problem with dialog window. Basically I have followed below steps but still I am unable to see screens in dialog mode, despite adding @DialogMode annotation.

  1. Created a composite project.
  2. Created a full stack project under it.
  3. Created a add-on project.
  4. Created screens for entities or even new blank screen.
  5. Wanted this screen to be opened as Dialog (with or without annotation), but it didn’t work. But any sub screens (any detail or list screen that too without annotation) are working as dialog. (so no problem here).

This issue is with Jmix v2.0, while in previous version it worked fine.

Any updates on this?

Any updates on this? I need solution or any other work around on this asap. Please.

Hello @santoshkannoli,

DialogMode annotation is the settings for how the view will open in dialog mode.

To open a view as dialog, you must set the opening mode in the action, such as using studio.

For example:
image

Regards,
Nikita

Hi @shchienko
Thanks for your response. But this doesn’t work on add-on module. Have you tried with above said problem?