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

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

ValoTheme and other Component methods not working

John Paulo Mataac
3 years ago Apr 30, 2019 8:07am
Olli Tietäväinen
3 years ago Apr 30, 2019 8:18am

Based on that code, it looks like you're watching an old video which applies to Vaadin 7 or 8; Vaadin 13 no longer has the Valo theme (the default theme being Lumo) and the addStyleName method has been replaced with the more accurate addClassName.

John Paulo Mataac
3 years ago Apr 30, 2019 8:37am