Last updated by 5 years ago

Page: TipsAndTricks, Version:1

Tips and Tricks in Grails

Showing a GSP's generated Groovy code 

Add showSource to the URL of the grails controller to see the generated Groovy code from the gsp page. Example:

http:// localhost:8080/App/Controller/list?param1=value1&showSource=true

This feature only works when executing Grails within the "development" environment. More details here http://www.nabble.com/spillGroovy-argument...-tf2298639.html#a6386846