Currently, ScreenFacets have only optionsProvider callback. Since the recommended way of passing parameters to an opened screen is to use public setters of the screen controller, ScreenFacet requires the setScreenConfigurer method.
Solution
the void setScreenConfigurer(Consumer<S> screenConfigurer) method has been added. The preferred way to set the configurer is using a controller method annotated with @Install, e.g:
Currently, ScreenFacets have only
optionsProvider
callback. Since the recommended way of passing parameters to an opened screen is to use public setters of the screen controller,ScreenFacet
requires thesetScreenConfigurer
method.Solution
the
void setScreenConfigurer(Consumer<S> screenConfigurer)
method has been added. The preferred way to set the configurer is using a controller method annotated with@Install
, e.g: