Open EntityLogBrowser screeen programatically

Hi, how can i open built-in screen from screen controler?


this is returning me:

IllegalArgumentException: No @UiController annotation for class class


EntityLogBrowser is a screen with legacy API, so you can open only using its id:

public void onShowEntityLogClick(Button.ClickEvent event) {

The id can be found in the cuba-screens.xml file (just search for files in your project, and the IDE will find it in the dependencies).

Thank you,

@knstvk s there any way how to pass filters directly to that screen possibly by using .withOptions()?

No, this screen does not accept any parameters.

1 Like