ANN: FreeMarker Tags 0.6.1 (Grails)
Daniel Henrique Alves Lima <[email protected]>
| Newsgroups | gmane.comp.web.freemarker.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, everybody.
The version 0.6.1 of the plugin is available.
Plugin site:
http://www.grails.org/plugin/freemarker-tags
User guide:
http://grails-freemarker-tags-plugin.googlecode.com/svn/doc/manual/index.html
Change log/version history can be found here:
http://grails-freemarker-tags-plugin.googlecode.com/svn/doc/manual/guide/4.%20Version%20History.html
The source code of the plugin will be moved to GitHub very soon.
Therefore, any contribution by adding test cases, improving the
documentation or evolving/fixing the plugin will be welcome.
I created a demo Grails project here:
https://github.com/daniel-lima/grails_view_comp
https://github.com/daniel-lima/grails_view_comp/tree/master/grails-app/views/gspTrip
https://github.com/daniel-lima/grails_view_comp/tree/master/grails-app/views/ftlTrip
For a quick overview of the syntax differences between gsp and ftl,
copy the contents of these raw files
https://raw.github.com/daniel-lima/grails_view_comp/master/grails-app/views/gspTrip/create.gsp
https://raw.github.com/daniel-lima/grails_view_comp/master/grails-app/views/ftlTrip/create.ftl
And paste them here:
http://www.text-compare.com/
Some points I would highlight:
- .jsp, .gsp and .ftl can all live together in the same application;
- freemarker-tags will expose any Grails TagLib to your FreeMarker
template: Core or user/custom;
- In .ftl, you can use <@g.renderErrors bean=tripInstance _as="list"
/> instead of [@g.renderErrors bean=tripInstance _as="list" /], if you
prefer.
Best regards,
Daniel.
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev