Class UrlParamsChangedEvent

java.lang.Object
java.util.EventObject
io.jmix.ui.navigation.UrlParamsChangedEvent
All Implemented Interfaces:
Serializable

public class UrlParamsChangedEvent extends EventObject
Event sent when browser URL parameters corresponding to opened screen are changed. It is fired before the screen is shown, which enables to do some preparatory work.

In this event listener, you can load some data or change screen controls state depending on new parameters:

     @Subscribe
     protected void onUrlParamsChanged(UrlParamsChangedEvent event) {
         Map<String, String> params = event.getParams();
         // handle new params
     }
 
See Also: