callmeblessed


Member since 01/02/2009

10 snippets

4316 profile views

2 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

callmeblessed's Recent SnippetsTagged groovy



« Prev 1 Next »
another way to set / create a date using jodatime download jodatime at http://joda-time.sourceforge.net/
1 1380 posted 17 years ago by callmeblessed
create a date using Calendar
1 1604 posted 17 years ago by callmeblessed
how to rollback data on grails' service .... for myutil --> please look at
0 1372 posted 17 years ago by callmeblessed
I need to create all table in InnoDB in my grails application. you can add this / edit the following code on grails-app/conf/Datasource.groovy
1 2174 posted 17 years ago by callmeblessed
how to "beautify" or tidying your code using vim ?
1 1738 posted 17 years ago by callmeblessed
how to render GSP template as String ? g:render is taglib in gsp (<g:render> ) but you can call it on your controller using g.render().
0 1907 posted 17 years ago by callmeblessed
how to read error message as string instead of complicated codes. usually people using taglib to read error messages. but how to read it in controller/service if you, for example, want to log or render just the message. here is how to do that.
0 1704 posted 17 years ago by callmeblessed
how to call session from grails service (spring service)
0 1650 posted 17 years ago by callmeblessed
how to loop an array / collection / list but with index. instead of using each{} closure, you can use eachWithIndex{} closure
1 1486 posted 17 years ago by callmeblessed
« Prev 1 Next »