java - Play Framework Checkbox and duplicated Entry -


i have in scala view loop displays saved records of entity checkboxes inputs, have n numbers of checkboxes. idea map entities manytomany annotation.

i display checkboxes , can persist data. issue checkbox check save new entity , not mapped current saved record exist.

i not know how change this, every time check on checkbox have new entity , father entity (what has manytomany annotation) mapped new persist entry.

can me please?

thanks & regards,


Comments

Popular posts from this blog

java - JavaScript + Thymeleaf - select onchange -

node.js - Using Node without global install -

How to access a php class file from PHPFox framework into javascript code written in simple HTML file? -