TO THE NEW Blog PAGES

Grails

How to invoke a GSP tag as a method in Grails GSP

Grails has a lot of gems. One of my favorites (besides GORM) is GSP tags — Grails makes it so easy to create new tags, now there is no reason to write java/groovy code inside GSPs. One of the features about GSP tags that I discovered and used today is that it is possible to […]

Deepak
Deepak
Read

Grails

How to pass a bean or model to a template

When we want to render a view using a template and the template makes use of a model object, the model object needs to be passed to the template using GSP tags. I am writing this because it took me a while to figure this out. Thanks to the wonderful contributors on the mailing list […]

Deepak
Deepak
Read

Grails

Externalize application properties in a Grails app

Externalizing properties of an application has really come a long way, especially if you are using Grails. Just want to share as a quick tip how easy it is to externalize the properties in a Grails application. This is what all we have to do in-order to get something from a properties file. In config.groovy […]

Deepak
Deepak
Read