Rendering templates in services
Posted by admin - 28/11/09 at 01:11:30 pmIf you want to render gsp template on level of service (or in any other bean), just get org.codehaus.groovy.grails.plugins.web.taglib.ApplicationTagLib bean from spring context, and call method render on it:
Grails 1.1.2 released
Posted by admin - 27/11/09 at 12:11:53 amToday was released Grails 1.1.2 . There are some bug fixes and new functionalities (changelog). Rely on Robert Fletcher, version 1.2 will not appear, until Spring 3.0 goes final.
@Validateable – thank you ….
Posted by admin - 27/11/09 at 12:11:41 amToday I learn about cool feature of Grails, that I missed or maybe it appear recently in documentation. As you probably know, I am talking about @Validateable annotation. Just mark your class with @Validateable and all it instances will provide validation mechanisms, like domain classes and command objects.
Where it can be use? Good example is service level, where the only object that provide such functionality is domain class and initialized command object will be simple POGO, without validation functionality.
Powered by WordPress with GimpStyle Theme design by Horacio Bella.
Entries and comments feeds.
Valid XHTML and CSS.