My company is in the process of starting down the Grails path. The reason for that is that the current developers are heavy on Java but felt the need for a MVC-style language for some future web development projects. Personally, I'm coming from the design/usability world, but as I take more "front-end" responsibilities I'm starting to fe...
What is the configuration setting for modifying the default homepage in a Grails application to no longer be appName/index.gsp? Of course you can set that page to be a redirect but there must be a better way.
...
Grails makes it very easy to configure datasources for different environments (development, test, production) in its DataSources.groovy file, but there seems to be no facility for configuring multiple datasources in one environment. What to I do if I need to access several databases from the same Grails application?
...
How do I figure out if an array contains an element?
I thought there might be something like [1,2,3].includes(1) which would evaluate as 'true'
...
Grails scaffolding defaults to 10 rows per page. I would like to increase that number without generating the views and changing the 10 in every file. Where do I change the default?
...
I have not seen much support for Grails to develop facebook apps.I was just wondering if people around are developing facebook apps on grails
...
Grails vs Rails. Which has better support? And which one is a better choice to develop medium size apps with? Most importantly which one has more plug-ins?
...
Hey ya guys ...do you know good books for ruby on rails .I know 'Grails'.Keeping that in mind please suggest some good books for Rails !
...
I am trying to execute some stored procedures in groovy way. I am able to do it quite easily by using straight JDBC but this does not seem in the spirit of Grails.
I am trying to call the stored procedure as-
sql.query( "{call web_GetCityStateByZip(?,?,?,?,?)}",[params.postalcode, sql.out(java.sql.Types.VARCHAR), sql.out(java.sql.Type...
Has anyone been successful in getting the grails plugin for eclipse to work? How about grails plugin with netbeans?
...
Does anyone have an example using the table object in YUI library. More specifically, I'd like to dynamically load it from JSON or SQL?
http://www.grails.org/YUI+Plugin
...
Browsing to a dynamic web page built using Groovy on Grails version 1.0.3 the console log shows the following errors for each page request:
[Fatal Error] :-1:-1: Premature end of file.
How do I stop this error from appearing for each request?
...
Hy, I'm developing a Grails app which has to communicate with an existing J2EE application (built with EJB2).
Both the "legacy" app and the new Grails app will offer services and consume them.
For intercompatibility reasons, I'm thinking of communicating using WebServices. Now I'm wondering which frameworks I should use on both sides.
...
Hi,
I want to change the authentication process that is used by the Acegi - Plugin. It should be a completly customized process. Cusotm login form + custom auth method.
Obviously there is only few documentation regarding this topic.
In the book "The Definitive Guide to Grails" it is described for an older version of grails. There the ...
What parts of a Grails application need to be stored in source-control? Some obvious parts that are needed:
grails-app directory
test directory
web-app directory
Now we reach questions like:
If we use a Grails plug-in (like gldapo), do we need to check in that plugin?
Do Grails plugins install in the Grails directory, or your pr...
How do I create a grails war file so that it doesn't have the version number
(e.g. foo-0.1.war)
attached to the end when I execute the 'grails war' command?
...
I'm currently writing a website that allows people to download Excel and text files. Is there a way to redirect to a different page when they click, so that we run javascript and do analytics (i.e. keep download count)? Currently, nothing prevents the user from simply right-clicking and saving.
Edit:
To be more specific, it would be ...
I'd like to take XML in the format below and load each code record into a domain object in my BootStrap.groovy. I want to preserve the formatting of each snippet of code.
XML
<records>
<code>
<language>Groovy</language>
<snippet>
println "This is Groovy"
println "A very powerful language"
...
Using groovy, would you expect better performance in terms of speed and memory overhead to read and query JSON vs XML?
...
I'm currently working with Groovy and Grails. While Groovy is pretty straight-forward since it's basically Java, I can't say I grok Grails. I read that Groovy is to Grails as Ruby is to Ruby on Rails, but what does that mean?
...