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 |
Organization | Technipelago AB |
HomePage | https://github.com/goeh/grails-decorator |
Date | Sep 29, 2016 |
Files | pom (1 KB) zip (16 KB) View All |
Repositories | Grails Plugins |
Ranking | #42829 in MvnRepository (See Top Artifacts) |
Used By | 10 artifacts |
Note: this artifact is located at Grails Plugins repository (https://repo.grails.org/grails/plugins/)
Compile Dependencies (0)
Category/License | Group / Artifact | Version | Updates |
---|
Licenses
License | URL |
---|---|
Apache License 2.0 | http://www.apache.org/licenses/LICENSE-2.0.txt |
Developers
Name | Dev Id | Roles | Organization | |
---|---|---|---|---|
Goran Ehrsson | goran<at>technipelago.se |
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 |