-
Play!> framework How-To : binding @ManyToMany to views (without CRUD) and differents UI
This is a little How-To for binding @ManyToMany relationship in Play!> views. The model for this very simple : a Domain model , and a User model. Users can belong to many domains and domains can have many models. So, the Models are simple : @Entity public class Domain extends Model { public…
-
Play!> framework : binding checkbox to POJO
I’ve been quite a long time to find the good way to bind checkboxes in my views to boolean properties of my POJO. The only way I was able to handle the checkboxes was to pass explicitly the field to the save method of the controller and explicitly…