Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
By the way, there's also a @StyleSheet annotation which works in the same way but includes CSS style sheets.
Compatible with GWT connectors
For short examples on how to use the new features, check out the Vaadin 7 mini tutorials: https://vaadin.com/wiki/-/wiki/Main/Vaadin+7
For information on how to migrate from Vaadin 6 to Vaadin 7, see http://dev.vaadin.com/wiki/Vaadin7/MigrationGuide
This is an alpha release so we expect there to be bugs and still expect changes will be made to the API and functionality before the final 7.0.0 release. All your comments on the new features are welcome. Please post all Vaadin 7 related comments in the Vaadin 7 category of the forum.
When i use setInterval to call my function every second firebug show me an error with message:
ReferenceError: setTime is not defined
(230 out of range 45)
ucrs-c...min-war (Zeile 230)
When i directly call my setTime function it works fine (without updating the time every second)!
Do you have any ideas to solve my problem?
Your problem is caused because setInterval is evaling "setTime()" in the global scope whereas the function is only defined in the local scope where the script is evaluated.
Thanks for the workaround. This work's!
Related vaadin forum post : https://vaadin.com/forum#!/thread/4924537