GGTS 3.2 and Grails 1.2.1
Hi all, I'm newbie to Grails, and have been reading a lot but am totally loss. I have a project developed in Grails 1.2.1, can't upgrade due to customer budget restrictions. I'm trying to configure and...
View Articlewhere can i download the latest spring-security-core plugin?
sorry for being a dunce, but the new plugin portal doesn't have a download option, so i'm assuming that we follow to 'source' which is now often(always?) on github. some of these plugin areas in github...
View ArticlewithTransaction in a collection
Stuck on something...if I have a collection foo and I loop through that collection to do updates on each record in the loop, how do I make it so that each record in the collection is in it's own...
View ArticleNew PDF Generation from existing PDF selected Pages
Hi, I want to generate new PDF based on selected few pages of Existing PDF. can someone provide the API or example link Thanks, Ravindar
View ArticleIssue with Date Format
In the create view, when I submit the form, I get each time an error message on date format: HTML Code: Meeting cannot be submitted due to errors below Property meetingDate must be a valid Date I...
View ArticleProblem Creating Project From Existing Code
Hi, I'm totally new to Grails and GGTS. I have an existing grails project that was developed using GGTS 2.0 and Grails 2.1.0 on linux, so trying to use those versions initially to get started. My code...
View ArticleGGTS 3.0 Linux OS Versions
I'm trying to create a new project with existing code using GGTS 3.0 on Linux RedHat 5.7 and having trouble resolving dependencies and ggts is hanging. I tried creating the same project using the save...
View ArticleMysterious values after store params in variable ~50
Hello, In the beginning of a controller i have the following code where i read the params for pagenation: Code: println "a1: "+params.offset println "b1: "+params.max int offset = params.offset...
View ArticleCan't create a new projects or import existing
I'm new to Grails/Groovy. I downloaded a fresh STS install with the Grails Extensions installed. When I create a new basic Grails project called "Simple", I get an error that looks like this: Command...
View ArticleGrails - create .ear file
I am new to Grails and created a very simple application. Need to create .EAR out of grails application and deploy it in RSA 7.5.4. Kindly Help with steps/docs. Thanks, Raj.
View ArticlehasOne relationship grails GORM.
I have 2 domain classes class Pool { static belongsTo = [dataCenter: DataCenter] static hasMany = [nodes :Nodes ] static hasOne = [thresholdRule: Rules ] static constraints = { thresholdRule(unique:...
View ArticleHow to filter records based on foreign key value
Hi All, I have two Domain Classes A and B. The relationship between these two table is : Code: class B { A a static belongsTo = [A] static mapping = { id column:...
View Articlejava.lang.StackOverflowError / fatal two-task communication protocol error
When navigating in my application I have a StackOverflowError together with some Oracle errors. It doesn't necessarily crash on the first access to DB. Any idea welcome .... Config is : apcahe-tomcat...
View ArticleHow to get Constraints and Annotations
Hi All, I have following Domain class. Code: import org.hibernate.validator.constraints.* import javax.validation.constraints.* class Employee { @NotBlank @Size(max=10) String...
View ArticleGrails startup error with patched jar
We are working on a grails project with spring. We have created a grails patched jar file. The patched file is org.grails-datastore-core-1.0.4.RELEASE.jar . We have placed it in the lib folder of our...
View ArticleMysterious behavior in looping over collection. Iteration count less than size
Again i have a mysterious behavior in my application: Code: def users = v.user println "Class: "+users.getClass() println "Size: "+users.size() println "Users: "+users users.each{ println...
View ArticleHow reconnect Data source after login authentication in grails
I want to access different databases for each user and I want to identify the database source at the time of login. I have a core database where users access and database URL information are exist. At...
View ArticleIssue with Grails Upgrade from 2.0.1 to 2.2.3
Hi, Currently our grails app runs on version 2.0.1 with spring security plugin v 1.2.7.3 for security. We have role based access set up for app. And the user info is stored in mongodb for which we use...
View ArticleExport Selected Rows of a Grid.
Hi everyone, I'm new in Grails, and I'm developing an application which export a selected rows of a grid to excel. For this I am using Grails 2.2.0, Easygrid plugin 1.3.0, Export plugin 1.5, jQuery...
View ArticleIsue with Upload Files into Amazon S3
Hi All, To upload files into Amazon S3, I am using following two plug-ins, compile ":amazon-s3:0.8.2" compile ":quartz:1.0-RC9" When I start application, I am getting following error continously,...
View Article