且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何自定义Grails字段插件

更新时间:2023-02-12 17:09:27

您可以查看grails字段插件的文档,我认为非常清楚

You can check documentation of grails field plugin, I think is very clear Grails Field Plugin Custimization Page

在简历中,您必须创建gsp文件模板,对于不同的字段,可以通过各种选项(例如属性类型,属性名称,控制器,操作等)来完成.在这些模板文件中,您可以应用引导程序类别您要使用.

In resume, you have to create gsp file templates, for the diferent fields, it can be done by varios options for example property type, propery name, controller, action, etc. In those template files you can apply the bootstrap clases you want to use.