Top "Grails-2.0" questions

Grails is a web application framework that uses Groovy and Java.

Spring Security UI and grails 2.0

I am not able to use grails security UI(0.1.2) with Grails 2.0. I have googled the possible causes for following error …

grails grails-plugin spring-security grails-2.0
Grails conditional nullable validation or custom validator with nullable option

I have a form to create a place. Depending of the country, the province (state, region) field is required or …

grails grails-domain-class grails-2.0 grails-validation
How to integrate angular js into grails 2.3.4?

I am running on grails 2.3.4 and though about integrating angularjs in my next application. I think the best way from …

javascript angularjs grails grails-2.0 grails-plugin
Method on class [] was used outside of a Grails application controller

Having below grails config: Datasource. environments { development { dataSource { dbCreate = "create-drop" // one of 'create', 'create-drop', 'update', 'validate', '' url = "jdbc:h2:…

grails grails-orm grails-2.0 grails-domain-class grails-2.3
Grails GORM MySQL generate TEXT or LONGTEXT column

I am using Grails 2.1.1 and MySQL 5.5.27 Community Server. I need to have a Domain class field generate a TEXT or …

mysql grails gorm grails-2.0
Grails: Cannot invoke method sendEmail() on null object when using in service

I have created a service NotifierService class NotifierService { MailService mailService def sendEmail(String email) { mailService.sendMail { to email from "myemail@…

grails grails-2.0 grails-plugin grails-services
How to check groovy script for compilation errors

We can create and run groovyscript at runtime using code below import groovy.lang.GroovyClassLoader; import groovy.lang.GroovyObject; import …

grails groovy grails-plugin grails-2.0
Looking for good book for Grails 2.0

Before you close this as duplicate, I am aware of these 2 posts (1,2) but none of them links to a book …

grails grails-2.0
How do you test service or controller methods in grails 2.3

I'm just starting out with grails 2.3 and I have problems getting the unit tests to run. What I've done so …

grails grails-2.0 grails-controller
Grails Command Objects custom Validate Message Codes

When using command objects like: class UserCommand { String name static constraints = { name blank: false, unique: true, minSize: 3 } } you can use …

validation grails grails-2.0 grails-domain-class grails-validation