Popular Posts

Recent Comments

  • Popular Tags

  • Archive for the ‘Tips & Tricks’ Category:

    How to save generated xml in string before render it in Grails?

    Grails provides render converter plugin for xml so if we want generate xml and render it to response writer, we can do like this: render(contentType:"text/xml") { books { book(title:b.title,author:b.author) ...


    How to change grails default context

    There is a simple way to change grails context name to other than default from our path name. Usually if we create grails create-app "appname" then we will have "appname" context as default. But Grails provide a simple way to do it.

    Posted in Tips & Tricks

    How to install plugin faster without get list of available plugins first

    Sometime, i am not patient waiting for grails command get list of plugin first when i just want to install specific plugin. So i am looking for the way to install directly the plugin I want. First, browse your plugin first from http://svn.codehaus.org/grails-plugins/ Then select your plugin folder For example, I want to install ...


    Tips for fixing problem when upgrading JSecurity plugin from 0.2 to 0.2.1

    A few changes in JSecurity caused problem when upgrading JSecurity Plugin from 0.2-SNAPSHOT to 0.2.1. I just upgraded my Grails from 1.0.1 to 1.0.3 and I also upgraded my JSecurity Plugin from 0.2-SNAPSHOT to 0.2.1 and I found problem in checking authenticated user code in my controller and also in my gsp, ...



    Welcome

    Welcome to my Grails Developer blog, I hope you can find useful contents here for your Grails learning and development purpose. God bless you.