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.
I try to edit JPA n:m relations with MultiSelectTable. Basically, I want to list all possible values in MultiSelectTable and select values for storage.
I have studied the jpa-address-book-master example. There, similar functionality is demonstrated to store groups a person is belonging to.
In the example a MultiSelectTable is created as follows (in PhoneBookEntryForm):
MultiSelectTable groups = new MultiSelectTable("Groups") .withProperties("name").withColumnHeaderMode(Table.ColumnHeaderMode.HIDDEN);
It is not clear to me to what "name" refers to. Is this the name of the group in the JPA class PhoneBookGroup? If so, how is specificied that this is indeed referring to the PhoneBookGroup, as the form in the example is for a PhoneBookEntry.