You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Don't store beans inside UI instance but use window name (when available) and store things inside a VaadinSession.
Don't allow to use scope when scope context is not available (right now the scope will be used regardless of the route component presence : but if the context is not available everything will be destroyed. The injection should not be even done at all if the scope context is not available). To be able to implement this BeforeEnterListener should be used along with AfterNavigationListener.
RouteScoped without RouteScopeOwner should behave differently than now: it should use the current bottom-most navigation target component as a context.
The text was updated successfully, but these errors were encountered:
denis-anisimov
changed the title
Alight @RouteScoped implementation with @RouteScop impl for Spring add-on
Align @RouteScoped implementation with @RouteScop impl for Spring add-on
May 31, 2021
denis-anisimov
changed the title
Align @RouteScoped implementation with @RouteScop impl for Spring add-on
Align @RouteScoped implementation with @RouteScope impl for Spring add-on
May 31, 2021
- presere beans for PreserveOnRefresh views
- reimplement absent RouteScopeOwner semantic
- do not allow to use (route) scope when it's not available
fixes#369
- presere beans for PreserveOnRefresh views
- reimplement absent RouteScopeOwner semantic
- do not allow to use (route) scope when it's not available
fixes#369
)
* feat: reimplement @RouteScoped to keep beans for PreserveOnRefresh
- presere beans for PreserveOnRefresh views
- reimplement absent RouteScopeOwner semantic
- do not allow to use (route) scope when it's not available
fixes#369
* chore: make minor corrections and add ITs
* chore: correct test class
Several things needs to be done:
UI
instance but use window name (when available) and store things inside aVaadinSession
.BeforeEnterListener
should be used along withAfterNavigationListener
.RouteScoped
withoutRouteScopeOwner
should behave differently than now: it should use the current bottom-most navigation target component as a context.The text was updated successfully, but these errors were encountered: