ANN: FreeMarker Tags 0.6.1

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

ANN: FreeMarker Tags 0.6.1

Daniel Henrique Alves Lima
    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.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email