Blog
Accessing Domain Constraints:Grails
31 Dec, 14

Accessing Domain Constraints:Grails

Constraints provide Grails with a declarative DSL for defining validation rules, schema generation and CRUD generation meta data. For example, consider these [code] class User { String username String password String email int age static constraints = { username size:...
Invocation Sequence Of Grails Filters
28 Nov, 14

Invocation Sequence Of Grails Filters

Although In most of cases like doing something before each request grails provides the concept of interceptors with in a controller, but if we like to intercept request in more than one controller than grails another functionality comes into picture called Filters....
Return Object from grails taglib
25 Nov, 14

Return Object from grails taglib

I was having a use-case where I need to use grails taglib, In this taglib I have a tag from which I need to return a map but I struggling with that as grails taglib by default return’s StreamCharBuffer e.g class ObjectReturningTagLib { static namespace =...