alejandro-du/vaadin-microservices-demo

How to use PreserveOnRefresh

rob-64 opened this issue · 3 comments

I was wondering if you know how to use PreserveOnRefresh with the demo? Seems like Spring session is breaking it?

I can't using Push too.

Way late response, but the issue ended up being NavigationEvent is getting serialized and the source is being lost..

if u override the class:

@Override public Router getSource() { Router source = (Router) super.getSource(); if (source == null) { source = VaadinService.getCurrent().getRouter(); } return source; }

Thanks for sharing the solution!