Get Dialogs dialogs out of controllers

Hi all!
App beans we can get out from screen by method:
AppBeans.get(ClassName).

But how to get Dialogs dialogs out of controller, if there’s not a qualifying bean for this?
Thanks all.

Looks like dialogs must be linked to screens only

Yes, Dialogs, as well as Notifications, Screens, Fragments, WebBrowserTools, UrlRouting are not regular Spring beans and can be injected only into screen controllers.
But you can also get them directly from AppUI:

Dialogs dialogs = AppUI.getCurrent().getDialogs();
1 Like

Konstantin, you are master.
Really that works outside the screen without transferring parameter dialogs!