I am using Grails 2.5.2. I am trying to execute a dynamic finder query from JavaScript block with a variable. But the JS variable is not recognized. H ...
I am using Grails 2.5.2. I am trying to execute a dynamic finder query from JavaScript block with a variable. But the JS variable is not recognized. H ...
Is possible to get all services extended from a certain interface in grails So I can collect them within one service ...
What is a good mysql configuration for production setting? The setting I am using currently is Sometimes I have been seeing Cannot get a connecti ...
I am running a grails V2.3.5 application which i brought to a new server and a new database server. Migrated data is displayed correctly. But when I ...
I'm still pretty new to the grails framework and working on legacy application based on grails 2. I have a domain controller allowing authenticated u ...
Having issues trying to bind a param to a command object field defined as 'def'. I have the following command object: I have the following contro ...
My inList constraints for a variable in class grew bigger. I need an alternative. One approach that I feel may work is having a list in a separate cla ...
I am using grails-2.5.2 version. I have a field which I want to make unique based on two field. But if the isActive field value is true then it will h ...
I want to create a domain object in different data sources based on a condition but when we instantiate a new object like new Foo().save() there is no ...
I am using grails-2.5.6 version. I am using spring-security-core plugin. I have a criteria query on UserRole table. Where I want to find all distinct ...
I see that problems akin to this have been posted before but the standard suggested solution does not appear to be working in my case, and I would lik ...
I have a couple of "before" type filters, which I would like to trigger only when a real, non-forwarded request arrives at my server. And not, when I ...
I have the following domain classes I need to retrieve offers that are not associated with an EventC. In SQL this can easily be performed as: S ...
Currently, I can upload files(exist) with Grails's RestBuilder. However, I want to upload a file without creating a file . I want to create binary dat ...
I want to pass value from the selection bar to the textarea but failed, saying description of null object is not defined. ${dbList} is a list of DB ob ...
I am using grails 2.4.5 version. I am checking a condition while saving. If my condition matches I am trying to return with a message instead of savin ...
We've encountered a situation where sometimes a flash.message displays correctly, but sometimes it doesn't show up at all. I would appreciate any tips ...
I have a domain class like: ...
Note: I'm using Grails 2.5.5. This is my method in the controller (I know save() shouldn't be a GET, but I'm just testing things out): This is my ...
I'm running Grails 2.1.1, and i'm looking for a way to get the value of variable set in production while i'm running on test environment. The config f ...