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.

Reflection of several identical layout

Egor Vasilyev
3 years ago Oct 31, 2019 6:42am
Kaspar Scherrer
3 years ago Oct 31, 2019 7:56am
Egor Vasilyev
3 years ago Oct 31, 2019 8:28am
Kaspar Scherrer
3 years ago Oct 31, 2019 8:48am

this principle applies to all components. layouts are components, but input fields are too. So you not only have to recreate the layout but also the inputs they contain. If by copies you mean clones then I really don't know, I haven't tried that out. And I know enough about cloning Objects to know that its a complicated topic with all the deep-copy and shallow-copy repercussions. I would suggest you just create the second layout from scratch again just like the first.

Egor Vasilyev
3 years ago Oct 31, 2019 10:28am