Thanks a lot for your response, I have been through your blog earlier and found it very helpful, however I am trying to do things a bit differently.
to use the example from your blog, I do not want to create a separate StudentFormData class but use Student Entity itself to create and populate the values to/from form.
It works very well as long as long as I have only one Major or one Hobby part of student class, that way I can simply call @form("
major.id") in view and on server side Student is automatically populated. but If I use List<Hobby> or Set<Major> etc, it doesn't populate the values. I tried using @form("
hobby.id") @form("hobby[]") and some other combinations, even tried using a custom binder for Hobbies (Formatter as it is called) but nothing is working.
-Thanks,