A good-enough Linux IDE for Groovy/Grails code completion?
Is there a good development IDE for Groovy/Grails code completion under Linux? ...
Is there a good development IDE for Groovy/Grails code completion under Linux? ...
When exception generated I want to show some additional information (source code) for particular exception. But grails have very hairy exceptions (it's all about groovy dynamic nature). It's my problem where to get and how to display source code. All I need is file/line information. So... Is there any possibility to get file and line wh...
Hi, is it possible to use <g:helpBallon> - Tag within a template? When I insert it, i got a blank page ... Where have I to include the javascript? Thanks in advance ! Ronny ...
What does person.properties = params do? ...
I have the following Grails domain class: class Product { String name Float basePrice Category category String image = "default.jpg" static constraints = { name(size:3..25, blank:false) basePrice(scale:2, nullable:false) category(inList:Category.list(), nullable:false) image...
I am writing a web app in Grails with the Acegi/Spring Security plug-in, and am having trouble getting it to see changes I make to User instances. I have only been working with Groovy/Grails for about three weeks, so please forgive me if this problem is trivial, since I have been poring over mailing lists and tutorials trying to find the...
Hi, I am using Jsecurity plugin version 0.3 with grails 1.1. I need to increase the session timeout for users. Any clue how i should go about this? ...
I need to implement a web app, but instead of using relational database I need to use different SOAP Web Services as a back-end. An important part of application only calls web services and displays the result. Since Web Services are clearly defined in form of Operation: In parameters and Return Type it seems to me that basic GUI could b...
I am looking for any comparative analysis of the Grails vs Struts 2. If any of you gurus have run into issues using Grails. Please do let me know if you have worked on large scale projects that use Grails. Peter Keller had mentioned in my previous post here that Sky News is using Grails. I was wondering if anyone else is using it. It wou...
I have the included grails script that I found in some random place on the internet and it works pretty well for firing up scripts in a bootstrapped grails env. The only thing it doesn't seem to do is kick off my conf/*Bootstrap.groovy scripts like when I do run-app. Is there another function like loadApp() and configureApp() that will ...
for example:class Book { static mapping = { batchSize 10 } } could be: @Configration(batchSize=10) class Book { ... } ...
Hi, I have the following log4j config in my Grails 1.1 app log4j = { // Enable Hibernate SQL logging with param values trace 'org.hibernate.type' debug 'org.hibernate.SQL' debug 'com.mycompany' appenders { console name: 'stdout', layout: pattern(conversionPattern: '%d{dd-MM-yyyy HH:mm:ss,SSS} %5p %c{1} - ...
While developing a Grails 1.0.5 app I'm appaled at how slow the grails test-app command is. Even though the actual tests take just ~10 seconds, the whole execution adds up to real 1m26.953s user 0m53.955s sys 0m1.860s This includes grails bootstrapping, loading plugins, compiling all the code etc. Any hints on how to spee...
Has anyone built a grails app using extjs as the frontend? Are there any pitfalls or gotchas that you'd care to share? It looks like the JSON format output by grails by default it quite different from what extjs expects, but is it just a matter of customizing the JSON on the grails side? ...
Hi, In Groovy types are optional so you can use either: String foo = "foo" foo.noSuchMethod() or def foo = "foo" foo.noSuchMethod() I assumed that the first example would generate a compile-time error, whereas the second would only fail at runtime. However, this doesn't appear to be the case. In my experience, a compile-time error...
I'm having trouble getting the Apache Camel plugin to run in grails-1.1.1. Here's the steps I took: $ grails create-app camelapp Welcome to Grails 1.1.1 - http://grails.org/ ... $ cd camelapp $ grails run-app ... Running Grails application.. Server running. Browse to http://localhost:8080/camelapp $ grails install-plugin camel ... C...
I'm trying to get the grails code coverage plugin to work based on these directions: http://www.grails.org/Test+Code+Coverage+Plugin I did: grails install-plugin code-coverage Then: grails test-app Based on that I expect to see a tests/report/cobertura directory, but I don't see anything inside my project after running "grails test-ap...
Hi I have the following gsp page: <g:def var="incidentMngmntId" value="${incidentMngmntInstance?.id}"/> <g:link controller="ticketMngmnt" action="list" params="[incidentMngmntId : incidentMngmntId]" id="${incidentMngmntInstance?.id}"> Tickets </g:link> The generated URL is as follows http://localhost:8080/smtool/tic...
Let's say we have a grails web application exposing several resources. tags urls users The application has a classical web-interface which the users interact with and some administration. We want to expose the resources from the application to clients via a RESTful API and we don't want that part of the app to clutter up the control...
Which directories/files should be excluded when placing a Grails application under version control? I don't want non-source files or artifacts to be carried in SVN for my project. ...