showing html content

i want to retreat an html file which is saved in database and want to show it in a vaadin application in splitpanel how can i do that

though i kno of using a customlayout but it nly can represent a file already existing in
WebContent/VAADIN/themes/themename/layouts/mylayout.html

i want it dyanamically generated from database and also it must be scalable

if anyone can please help me with this

Use Label with content mode XHTML.

CustomLayout also takes an InputStream as constructor argument, so you can use it as well for dynamic contents. But in most cases, as Joonas said, Label’s XHTML mode should work fine for you.