I created a project in Vaadin 6 and ran it. It renders the text 'Hello Vaadin user' in browser perfectly.
Then I changed the label message.
public void init() {
Window mainWindow = new Window("Edojimav6 Application");
Label label = new Label("Vaadin 6"); // changed text
mainWindow.addComponent(label);
setMainWindow(mainWindow);
}
But it still displays the same text on browser 'Hello Vaadin user' and I cleared browsing history(cookies, cache memory.. But, I cleared everything) in my browser and ran the code. Now it renders the text 'Vaadin 6' perfectly.
Each and every time I need to clear browser history to run my code. I have proxy settings enabled in my network.
I'm using Eclipse Indigo. I have tested in Chrome 24.0.1312.57, Firefox 15.0.1 and Safari 6.0 browsers.
But, Vaadin 7 runs perfectly. It does not require any 'History clearing' to run the code.
In Vaadin 6, you have to add ?restartApplication to the url of the application, for example
http://localhost:8080/myapp?restartApplication
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With