Non - Closeable Dialog

Hello,

I’m implementing a flow where we register users in the system and send out welcome emails, however, upon first login they’re presented with a dialog that forces them to change their password.

The problem is that I can’t seem to find anything in the docs or the code that would make a dialog absolutely non-closeable.

What would be the best way to achieve this?

Hello!

If you open screen as a dialog, you can set closeable option in the following ways:

  • declaratively in the screen descriptor: <dialogMode closeable="false"/>;
  • or if you use annotation: @DialogMode(closeable = false);
  • in the controller: getWindow().setCloseable(false);