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.

where do we put html in vaadin?

Santosh Kalwar
1 decade ago Oct 21, 2009 2:56pm
Kim Leppänen
1 decade ago Oct 21, 2009 3:37pm

The idea with Vaadin is that you don't have to write any HTML or JavaScript. In most applications you'll be fine with the layouts provided with Vaadin (such as Horizontal-, Vertical- and GridLayout) or perhaps some of the layouts in the incubator (FastLayouts). Sometimes you might be required to create custom widgets (see Book of Vaadin for more information).

Sometimes you do run into cases where you need to write the HTML yourself, in those cases you can use the CustomLayout -component.

Joonas Lehtinen
1 decade ago Oct 21, 2009 5:46pm
Sami Ekblad
1 decade ago Oct 21, 2009 6:50pm

And of course, to display a small html formatted text snippets use the Label component in XHML or RAW mode.
See: http://vaadin.com/api/com/vaadin/ui/Label.html