Load HTML page in vaadin layout

Hi,

My manager asked me to rebuild entirely their web application using Vaadin 7.x. Thing is, the old web application is using a lot of HTML pages and it is a mess so I would like to know if I could just “include” HTML pages in say, a layout so I don’t have to redo everything from scratch.

Any idea ?

Thanks in advance :slight_smile:

You can use Label with ContentMode.HTML.

lbl.setContentMode(ContentMode.HTML)
lbl.setValue(“”);

or

new Label(“”, ContentMode.HTML)

Thanks for your reply.

I already tried it, but without success. I must’ve done something wrong. I’m gonna retry it !