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, 2 weeks ago
viritin validation
Viritin works with annotation??
I put in my bean,
@NotNull @Size(min = 2)
private String nome;
and use this code to bind:
bind = BeanBinder.bind(novaFicha, this);
bind.bind(nome,"parte.nome");
(because my parte are one embedded object in Ficha.
So when I try to save my ficha, and I run
bind.isValid()
If i only input A in my nome the bind return valid and not invalid(because the size), and with viritin it`s possible to show the message in textedit when I leave field and the value are incorrect
tks
Last updated on
Have you annotate parte field of the main class with @Valid?
Last updated on
You cannot reply to this thread.