Grails one to many relationship view

后端 未结 2 1895
南方客
南方客 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.

    0 讨论(0)
  • 2021-01-16 14:02

    maybe this site will help you http://omarello.com/2010/08/grails-one-to-many-dynamic-forms/

    0 讨论(0)
提交回复
热议问题