Hi Nicolas,
you can get the taglib from the main applicationContext via:
grailsApplication.mainContext.getBean('org.codehaus.groovy.grails.plugins.web.taglib.ApplicationTagLib')
just inject grailsApplication into your service via:
def grailsApplication
cheers
Lee
2009/5/10 Nicolas R. <
[hidden email]>
>
> Hi folks,
>
> I would like to use the createLink Function in my Service-Class. This
> doesn't work out-of-the-box, like it would in a Controller-Class.
> Which packets do I have to include?
>
> Thanks in advance,
>
> Nicolas
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>
http://xircles.codehaus.org/manage_email>
>