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...
Initialize groovy list with default value
17 Sep, 14

Initialize groovy list with default value

Hello friends ,In this blog we learn how to create a groovy list with default value. We can create and use withDefault() method to define the value of elements not yet in the list. We use a closure as a argument to this method which returns the default value. We can...
Command Object And Its Benefits
4 Sep, 14

Command Object And Its Benefits

Today, I am going to explain how to use command object in grails application to validate the client information without using domain class. You will see the benefits of using command object in this blog. The command object’s purpose is to bind the data from web-form...
Grails app static resource on https
2 Sep, 14

Grails app static resource on https

In my recent project I have setup ssl and deployed it on server. All the applications page were being served over https but some static contents were being served from http and it showed that the application is not secure. After lot of searching I found the solution....