setWindowParams method has no effect on EditAction

Hi CUBA team,

I have an issue when trying to set different screen for the EditAction on a datagrid with different parameters.

Map<String, Object> params = new HashMap<>();
params.put("ITEM", item);

The new screen is launched but not with the desired parameter. When I debug the launched screen init method I see only the original parameter (having the ITEM key), not my modified parameter. I even tried with other parameters and another key (I thought ITEM might be a reserved key) but only the default parameter appears.
Is it a bug or am I missing something?

hi, @tudorghircoias

Please take a look at the window params supplier feature in the documentation: link (setWindowParamsSupplier() method).