Pages
(Move to ...)
Home
Java
Android
Php
Cake PHP
jQuery
Grails
All Pages
▼
Thursday, October 3, 2013
Grails Groovy dynamically invokeMethod with empty/single/multi parameters
›
You need to first get bean object of your service class. Create a service like below and get your required service by calling: service...
Wednesday, October 2, 2013
Grails validate email address
›
you can use import org.apache.commons.validator.EmailValidator ... EmailValidator emailValidator = EmailValidator.getInstance() if (emailVa...
Grails Hibernate - null id in entry (don't flush the Session after an exception occurs)
›
I ran into this issue today when trying to persist one of my objects. The cause of the problem was interesting. I was trying to save an...
Tuesday, October 1, 2013
Grails domain class: unique constraint for multiple columns
›
Suppose a simple Grails domain class: class Account { String countryId ; String userName ; String areaId; ...
Grails pagination on a ArrayList
›
In my recent grails project, i needed to paginate on an array list, so I wrote a function and thought would share it with you all. p...
Grails: get class object by string/class name
›
grailsApplication.classLoader.loadClass("au.com.test.package.ClassName")
Monday, September 30, 2013
[Java/Grails] Class ConstrainedProperty
›
org.codehaus.groovy.grails.validation [Java/Grails] Class ConstrainedProperty java.lang.Object org.codehaus.groovy.grails.validati...
‹
›
Home
View web version