Send parameter from menu to Browser screen

Hi
Like we use @windowParam in CUBA, I tried to use the same from JMIX menu to a screen but it is not running.

 <item screen="pf_BankCashEntry.browse"
              caption="msg://com.inteacc.pf.entity.bankcashentry/bankCashEntryBrowse.menu" id="pf_BankCashEntry.browse">
            <properties>
                <property name="tranSource" value="general"/>
            </properties>
        </item>

In Controller:

  @WindowParam(name = "tran-source")
    private String tranSource;

I also tried this way:

  @WindowParam()
    private String tranSource;

However, this is returning the null value on the screen.

Is this API still valid or what is the best alternative?

Hi,

That is a known issue: https://github.com/jmix-framework/jmix/issues/300. It will be fixed in one of the bug-fix releases.

Regards,
Gleb