Grails one to many relationship view

后端 未结 2 1921
南方客
南方客 2021-01-16 13:15

I have two grails domain classes

 Class MultipleChoiceQuestion {
    String question
    static constraints = {
        ...
    }
    static hasMany = [opti         


        
2条回答
  •  庸人自扰
    2021-01-16 13:52

    You don't have to use Grails scaffolding if you don't want to. Since this is a pretty specialized form, you should construct the HTML yourself. I've created a test project at github that shows a good design for this problem. Check it out.

提交回复
热议问题