Loading...
Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon
TUTORIAL

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

Upgrade Vaadin version -> Upgrade VAADIN directory?

John Rizzo
1 decade ago Apr 22, 2010 1:11pm
Marko Grönroos
1 decade ago Apr 22, 2010 1:51pm

Yes, Vaadin can load the themes and widget sets from the Vaadin Jar. That's in fact the typical "development" way, as in when you create a new Vaadin project with the Eclipse Plugin. Loading them from the Jar is easier to manage, especially if you upgrade Vaadin frequently during development. Otherwise, you need to re-extract the [tt]themes[/tt] and [tt]widgetsets[/tt] folders from the Jar every time you upgrade to new Vaadin Jar.

We recommend unzipping the themes and widget sets from the Jar to the VAADIN directory for production as it is a more efficient to serve them statically.

If you have your own widget set, the DefaultWidgetSet is never loaded (when you're running your app), so you don't need to extract it to the [tt]widgetsets[/tt] folder. The inheritance in widget sets is handled during widget set compilation and your custom widget set contains all the necessary stuff from DefaultWidgetSet.

Last updated on Apr, 22nd 2010
John Rizzo
1 decade ago Apr 22, 2010 2:29pm
Marko Grönroos
1 decade ago Apr 22, 2010 3:31pm
John Rizzo
1 decade ago Apr 22, 2010 7:37pm
Jouni Koivuviita
1 decade ago Apr 23, 2010 7:15am
John Rizzo
1 decade ago Apr 23, 2010 7:30am
Nicolas Brasseur
1 decade ago Sep 15, 2010 8:05am
Henri Sara
1 decade ago Sep 15, 2010 8:34am