To use a taglib, its class must be imported into SiteConfig.groovy. That may be self-evident to some, but when I created my first taglib the example gave me the impression that Grain was going to find the class on its own. In hindsight, that was rather naive of me, but nevertheless, I want to clarify the example.
To use a taglib, its class must be imported into
SiteConfig.groovy
. That may be self-evident to some, but when I created my first taglib the example gave me the impression that Grain was going to find the class on its own. In hindsight, that was rather naive of me, but nevertheless, I want to clarify the example.