Top "Grails-2.0" questions

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

How to make MySQL work on grails 2.0

Grails 2.0 seems to have some changes to DataSource.groovy and I don't seem to be able to get mysql running …

mysql grails datasource gorm grails-2.0
How to get current_user by using Spring Security Grails plugin in GSP

I am newbie in Grails. I am using Spring Security Grails plugin for Authentication purpose. I want to get current …

grails spring-security grails-2.0 gsp
Grails send request as JSON and parse it in controller

I want to send a request as JSON and in my controller I want to parse this JSON and get …

json grails request grails-2.0
grails 2.0 - correct use of serverURL for production?

Grails 2.0 changed with the way it uses grails.serverURL for development and test environments (as described in the manual). However, …

grails grails-2.0
org.codehaus.groovy.grails.cli.support.GrailsStarter not found error

After updating from Grails 2.3.10 to 2.3.11 and updating the path variable to export GRAILS_HOME=/Applications/grails/grails-2.3.11 When I run: …

java grails groovy grails-2.0
grails 2.0 including resources the simple way?

I've been battling various resource inclusion issues in my migration from Grails 1.3.7 from Grails 2.0, probably not understanding a few things …

grails grails-2.0
How to set default value for Domain Class Values in Grails 2.2?

In my Grails domain class I want to set default values which do persist in the database. I use mysql …

grails grails-2.0 grails-domain-class
In Grails, how do I display validation error messages next to the fields?

The Grails 2.0.4 documentation for validation shows you how to display error messages at the top of the page and how …

validation grails grails-2.0
Grails 2.x service injection in Groovy/src

I'd like to inject my service in Groovy/src class. The normaln dependency injection doesn't work: ... def myService ... I'm able …

grails grails-2.0
How to run a local plugin in Grails 2.0?

In Grails, there is a variant how to include local plugin from sources. According to docs, one may type in …

grails groovy grails-plugin grails-2.0