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.

HTML in Error Validation

Christian Soth
10 years ago Jan 17, 2012 8:29pm
Christian Soth
10 years ago Jan 18, 2012 10:12am
Miku Laitinen
10 years ago Jan 20, 2012 11:04am

I have never tried it, but this is exactly how it says in the API docs:

The default implementation of InvalidValueException does not support HTML in error messages. To enable HTML support, override getHtmlMessage() and use the subclass in validators.

Source: https://vaadin.com/api/com/vaadin/data/Validator.InvalidValueException.html

Last updated on Jan, 20th 2012
Christian Soth
10 years ago Jan 20, 2012 2:54pm