How can I reload Vaadin application on button click?
I read that adding? Restart Application to URL will restart it, but which method call?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I’m not sure this is exactly what you’re looking for but you can use the close method from the Application class
In effect this will cause the application stop returning any windows when asked. When the application is closed, its state is removed from the session and the browser window is redirected to the application logout url set with setLogoutURL(String). If the logout url has not been set, the browser window is reloaded and the application is restarted.