Making Grails form development DRYer

后端 未结 3 1005
耶瑟儿~
耶瑟儿~ 2021-02-10 05:48

When using Grails, the GSP code to render each form field looks something like this:


  

        
3条回答
  •  隐瞒了意图╮
    2021-02-10 06:10

    Yes, bean-fields plugin is very DRY… your 20 lines can be replaced with one line:

    
                                                            
提交回复
热议问题