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.
Have you checked out what the FieldFactory in JPAContainer can do? It automatically places a table based multiselect component for many-to-many relations. I discussed its usage (via a simple crud app built by maven archetype) in in this article. There is also a short video about it