Hello, I have a News related ManyToOne class with a Section class. The News class has an attribute of type Section (where the @ManyToOne relation occurs). I would like to know how I can, in the newsprint form, send the section to which it should be part.
Note: I already have the list of available sections in the JSP and the user selects the section for the news that will register through a selection field. But I do not know how to pass the dry object as attribute of the news that will be registered. Can anyone help me?
Thank you.