Grails is a web application framework that uses Groovy and Java. The framework is oriented around high-productivity application development, and uses common Java technologies such as Hibernate and Spring.

learn more… | top users | synonyms (1)

0
votes
1answer
26 views

Downloading a Grails plugin

Is there a Maven repo from where I can download grails plugin files. I know I can do install-plugin name but I want to store it in my repo.
0
votes
1answer
20 views

how to use the pattern option to validate a phone number in grails <g:field type=text

I want users to just enter ten digits without punctuation. I have tried the patterns below. In each case a popup asks me to "Please match the requested format". I may switch to a jquery solution, but ...
0
votes
1answer
19 views

Using Grails + PostgreSQL - How do i debug the GORM?

I am having an issue with PostgreSQL, while using Grails/GORM. I want to be able to figure out what the query is that is running. It is failing asking about a field that I do not have in the class, ...
0
votes
1answer
16 views

Fixtures Plugin Referential Integrity Exceptions In Grails

I have an object Foo that has a bidirectional one-to-one relationship with Bar and another one with Baz. When I try to do a .load with Foo and only give it a Bar, I get referential integrity ...
1
vote
1answer
43 views

Injecting a mock service into a domain class for a Grails unit test?

I am writing some Spock spec based unit tests under Grails 2.1.1. I'm having trouble getting springSecurityService injected into my domain object that is used by my unit. This is what I have so far, ...
0
votes
1answer
30 views

gails controller action changes status code when new method is added to controller

I have some URL mapping to a controller class UrlMappings { static mappings = { "/abc/$id/def"(controller: 'controller') { action = [GET: 'action'] } } and the controller: ...
0
votes
1answer
23 views

Display Parent / child list in one Grails view

I am attempting to display a 1 to many relationship on one view using grails 2.2.1. Essentially, I want to use one view to display two lists (one parent list, one child list). Further, I want to ...
0
votes
0answers
14 views

Grails 2.2.2 Geb 0.9.0 Spock 0.7 exception

I create a project with grails 2.2.2, add test "org.seleniumhq.selenium:selenium-firefox-driver:2.28.0" test "org.seleniumhq.selenium:selenium-support:2.31.0" test "org.gebish:geb-spock:0.9.0" test ...
0
votes
0answers
35 views

Is comparison between AppFuse and Grails true? [on hold]

Does AppFuse and Grails frameworks do the same work? Is comparison between AppFuse and Grails true? If true, what is main differences between these two framework?
1
vote
1answer
21 views

Select field in grails workflow

I have a problem prefilling a dropdown list in an grails webflow I have a controller for the webflow class ClearanceRequestController { def index() { redirect(action: "start") } def startFlow ...
1
vote
1answer
34 views

Grails 'method not allowed' weirdness

I have simple controller code like: // UserController.groovy class UserController { static allowedMethods = [ signIn: 'GET', authenticate: 'POST', ...
3
votes
1answer
25 views

Grails g:each , Using fieldvalue or direct access Difference

<g:each in="${business}" status="i" var="businessInstance"> <tr class="${(i % 2) == 0 ? 'odd' : 'even' }"> <td>${fieldValue(bean: businessInstance, field: "id") }</td> ...
0
votes
0answers
36 views

Custom Log4j appender sharing with Tomcat 7?

I would like to share a TimeAndSizeRollingAppender log4j appender between several Grails applications deployed to a single Tomcat instance. I'm receiving an error when I deploy the custom appender ...
0
votes
1answer
28 views

How can I render a grails model to javascript using a post method from a controller action?

At a jquery event I want to call upon a controller action and use its data. The way I did it until now was: $('#my-button').click(function(){ $.post("${createLink(controller: 'myview', action: ...
0
votes
1answer
29 views

Grails Web Service Front End No True Domains

I have an existing application that is a front end application which retrieves all of its information from external Web Services. I want to re-create this application using the Grails framework, ...

1 2 3 4 5 824
15 30 50 per page