progressBar example

Hi,

I would like to ask the user something like ‘Do you want to …’ via a screen or (option)dialog.
When he presses the Yes button:

  1. the progressBar should become visible on the screen/dialog
  2. the process runs, which can take several seconds/minutes
  3. when the process is done, the screen/dialog must be closed

Do you have any examples?

Jmix version: 1.5.5
Jmix Studio Plugin Version:2.5.1-243
IntelliJ IDEA 2024.3.5

Hello,

The mechanism you described resembles background tasks. The link below contains examples:

Background Tasks - Background Tasks :: Jmix Documentation

UI Samples - https://demo.jmix.io/sampler/#main/2/sample?id=progressbar-standard

Regards,
Nikita

1 Like