Use pluggable decorators to modify content in GSP pages.
Examples
Abbreviation decorator
<g:decorate max="20">The quick brown fox jumps over the lazy dog</g:decorate>
The quick brown f...
URL decorator
<g:decorate>Please visit www.grails.org for more information</g:decorate>
Please visit <a href="http://www.grails.org">www.grails.org</a> for more information
Custom decorator artefacts can be placed in grails-app/decorators
License | Apache 2.0 |
---|---|
Tags | plugingroovygrailsdecorator |
HomePage | https://github.com/goeh/grails-decorator |
Ranking | #42414 in MvnRepository (See Top Artifacts) |
Used By | 10 artifacts |
Version | Vulnerabilities | Repository | Usages | Date |
---|---|---|---|---|
1.1 | Grails Plugins | Sep 29, 2016 | ||
1.0 | Grails Plugins | Sep 29, 2016 |
Related Books
Grails in Action (2014) by Peter Ledbrook, Glen Smith | |
Grails 2: A Quick-Start Guide (2013) by Dave Klein, Ben Klein | |
Programming Grails: Best Practices for Experienced Grails Developers (2013) by Burt Beckwith | |
Beginning Groovy, Grails and Griffon (Expert's Voice in Java) (2012) by Christopher M Judd, Joseph Faisal Nusairat, Jim Shingler, Vishal Layka | |
The Definitive Guide to Grails 2 (2012) by Jeff Scott Brown, Graeme Rocher | |
Pro Grails Plug-ins: How to Use, Build and Modify Grails Plug-ins (2010) by Harshad Oak |