Grails Plugins

Overriding plugin templates in Grails application

Grails plugins are handy but there is one feature i did not expect. When you create a plugin you can add taglibs there. Then in a tag you call render and provide plugin attribute so that render would know to search for the template in the plugin context. It looks very similarly for views in controllers. The difference is that if you place view file in the application it will override the view file of the plugin but if you place template file it will not override the plugin template.

Syndicate content

About the author

Artur Ejsmont

Hi, my name is Artur Ejsmont,
welcome to my blog. I am a passionate software engineer living in Sydney and working for Yahoo!

Web Scalability for Startup Engineers

If you are into technology, you can order my book Web Scalability for Startup Engineers on Amazon. I would love to hear what are your thoughts so please feel free to drop me a line or leave a comment.

Follow my RSS