Grails Tutorials

Your Source of Grails & Groovy Tutorial, How To, and Example Links

Log In or Register

Tutorial Links

Displaying 1 - 10 from 1468 tutorials

Example how to make link taglib respect acegi security settings and does not display itself if permission denied


  • Currently 0

0

0 votes; 89 clicks; posted on 05-Sep-2010

Tags: security; taglib; controller;

How to get Log4J to work for multi env.


  • Currently 0

0

0 votes; 188 clicks; posted on 03-Sep-2010

Tags: groovy; log;


A quick and easy tutorial for creating a BBCode Codec so you can use encodeAsBBCode().


  • Currently 5.0

5.0

1 votes; 313 clicks; posted on 17-Aug-2010

Tags: grails; encode; bbcode; codec; easy;

Since around grails 1.3ish, they have stopped autogenerating eclipse and netbeans project files because STS handles it itself. So what does that mean for people who start at the commandline and then want to go to STS? Well I'll show you how to import it.


  • Currently 5.0

5.0

1 votes; 368 clicks; posted on 13-Aug-2010

Tags: eclipse; sts; import;

By default, grails just gives users a multi-select box when dealing with to-Many relationships in views. It’s damn ugly and incredibly ineffective if an end user is dealing with tons of things to select from. After tolerating it for a while I completely gave up and decided to write my own replacement for it using autocomplete from the richui plugin and prototype which is included with grails.


  • Currently 5.0

5.0

1 votes; 361 clicks; posted on 13-Aug-2010

Tags: ajax; autocomplete; hasmany; select; replacement;

Shows how to create a quick and easy shoutbox/chat to put on your homepage or others with ajax and grails.


  • Currently 5.0

5.0

1 votes; 388 clicks; posted on 13-Aug-2010

Tags: ajax; prototype; shoutbox; chatbox; chat;


I ran into a roadblock with GORM recently and I decided to try my hand at modifying the Grails sources to test out a possible fix. More on that later (if I get it to work.) For now, I figured I’d post a simple recipe the will enable you to (a) quickly build Grails from where it lives on github, and (b) start modifying the sources. This will work for you if you work in a Unixy dev environment. If you’re on Windows you can always download Cygwin.


  • Currently 1.0

1.0

1 votes; 619 clicks; posted on 28-Jun-2010

Tags: grails; how-to;

In one of the projects, we had used Query Caching to improve the performance. However, it also meant that the updates/inserts into a table did not get reflected immediately, ie something like


  • Currently 0

0

0 votes; 527 clicks; posted on 28-Jun-2010

Tags: grails; hibernate; cache;

just finished developing a simple query engine with Grails 1.2.1 for one of my clients. As usually, Grails did most of the hard work. The requirement was to provide a query engine for customer-specific flat files that contained all information about transactions that occurred in the last year. Previously the flat files were delivered to the clients as Microsoft Access binary files. The problem was that the clients never took the initiative to write apps to search and aggregate the information. So I was brought in to use Grails to rapidly develop a web application that provided search and aggregation of the client-specific web flat files.


  • Currently 0

0

0 votes; 562 clicks; posted on 28-Jun-2010

Tags: grails;

I have a grails app that I am building and wanted try out using mongodb sense i have heard so many good things about it. The quick start guide doesn’t give you and helpful hints on how to map current domain classes to use mongodb. It only helps you create new domain classes to use mongo.


  • Currently 0

0

0 votes; 510 clicks; posted on 28-Jun-2010

Tags: grails; db; GORM;


625 users registered

1468 posts currently