JPAContainer with a FieldGroup example

I’m new to java and i have some trouble to get the example to work with the FieldGroup.

example with Form:

https://vaadin.com/book/-/page/jpacontainer.fieldfactory.html

Using:
Vaadin 7-1.12
JPAContainer 3-1.1

are there some examples where i can generate a Form from a JPA Entity with the FieldGroup Function?

Hi,

Yes, the book still uses the deprecated Form in many places, as converting many of the book examples to use FieldGroup would take 3-5 times the number of codelines. It’s in my backlog to convert the JPAContainer chapter to use FieldGroup, at some point not too far in future.

There’s at least
this test code
for using JPAContainer with FieldGroup and some field factory, but I don’t know if its related to your use case.

Hi Marko,

Thanks for your reply.

I am also looking for some tutorial or sample illustrating the use of JPAContainer with FieldGroup to create something like the attached image. Please let us know. Thanks.
13519.png

i was to busy to see the post… :-/

thank you marko i will try it when i have got time.