Agent1
(Agent 100)
1
Hi!
I know that’s is possible to navigate in Vaadin by using
UI.getCurrent().navigate(MyView.class);
But that will only change the view and change the text in the URL brower text box. Not actully reload the page by doing this.
UI.getCurrent().getPage().reload();
I’m using OAuth2 with Spring Boot + Vaadin and I need to make sure that Vaadin don’t show the view for unauthorized users.
Agent1
(Agent 100)
2
Solved with:
UI.getCurrent().getPage().setLocation("yourPathHere");
Chris335
(Chris Peter)
3
Hi,
there is also:
UI.getCurrent().navigate("location");
Regards
Agent1
(Agent 100)
4
INPUTsys Chris Peter:
Hi,
there is also:
UI.getCurrent().navigate("location");
Regards
Not the same. It will not update the page.