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, 3 weeks ago
Viritin BeanBinder with nested property
It`s possible to use nested property with viritin
BeanBinder
?
I have this class:
public class Ficha {
private String id;
private Parte parte = new Parte();
private String observacao;
private Integer numero;
}
and this other class:
public class Parte {
private String nome;
private String last;
}
in my view I have fields names: numero, observacao, nome, last
so I try to use:
Ficha newFicha = new Ficha();
BeanBinder.bind(newFicha, this, "parte.nome")
but the bind with my parte.nome don`t works, the numero and observacao works fine.
tks
Last updated on
Try to annotate then nome field in view with @PropertyId("parte.nome")
Last updated on
But my view are created with designer, So I can`t edit the file :(
Last updated on
You cannot reply to this thread.