Hi, how can i open built-in screen from screen controler?
this is returning me:
IllegalArgumentException: No @UiController annotation for class class com.haulmont.cuba.gui.app.core.entitylog.EntityLogBrowser
Hi, how can i open built-in screen from screen controler?
this is returning me:
IllegalArgumentException: No @UiController annotation for class class com.haulmont.cuba.gui.app.core.entitylog.EntityLogBrowser
Hi,
EntityLogBrowser is a screen with legacy API, so you can open only using its id:
@Subscribe("showEntityLog")
public void onShowEntityLogClick(Button.ClickEvent event) {
screenBuilders.screen(this)
.withScreenId("entityLog")
.show();
}
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.