Blog
Derived Properties Formula
23 Sep, 14

Derived Properties Formula

I recently stuck in a situation where I need to apply sorting but I have to apply sorting on those values which are calculated in my code and does not exist in the database. For this On the suggestion of Mr. M.K. Bharti and with the help of Mr. A. Pandey I got the way...
Working mechanism of Grails pagination
13 Jan, 14

Working mechanism of Grails pagination

I am trying to explain the simple mechanism used in grails pagination . For this I have created brand new application which uses the grails default pagination and column sorting.In my grails-app I just used a domain class as follows: [php] class Book { String title...
Read file in Grails service
23 Sep, 13

Read file in Grails service

Whenever I required to put  file in Application and read content from that file I create a directory e.g. resources in the web-app directory and read content in service like: [php]import org.codehaus.groovy.grails.web.context.ServletContextHolder as SCH class...