Block navigation when a form has unsaved changes
Implement WillLeaveObserver to prompt the user with a confirm dialog before discarding edits.
Implement WillLeaveObserver to prompt the user with a confirm dialog before discarding edits.
Trigger programmatic navigation to a view class using Router.getCurrent().navigate().
Construct a route URL with the router and open it via Page.open so paths aren't hard-coded.
Access URL query parameters inside a webforJ view using DidEnterObserver and ParametersBag.
Implement HasFrameTitle to generate a per-record page title from URL parameters so every detail view has a descriptive tab label.