How can I invoke a service directly from a view? I\'m trying with ${my.domain.service.method}, but it complains it can\'t find the property.
${my.domain.service.method}
And no, I
I think the best way of doing it is:
<% def myService = grailsApplication.mainContext.getBean("myService"); %>
This way, you get the service instance without losing the autowired services.