Making Grails form development DRYer

后端 未结 3 1011
耶瑟儿~
耶瑟儿~ 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:00

    Using the bean-field plugin. Your code will become:

    
        
        
        
    
    

    Can you find a DRYer solution?

提交回复
热议问题