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.

TUTORIALVaadin lets you build secure, UX-first PWAs entirely in Java.
Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Calling javascript synchronously by Enver Haase, 1 week ago
HTML in texts
how to do to add HTML code in String, text, etc. ??? Like or similar in Label: new Label("Helló World", Label.CONTENT_XHTML), but in String
Last updated on
Not sure what this means? A String is a Java type and it can hold HTML strings just fine. Label is a Vaadin UI component, which is very different and as you show, allows HTML content. A Label can render any amount of HTML, though, not like it's name implies.
Last updated on
You cannot reply to this thread.