How do I call a Grails service from a gsp?
Best to use the tag library because creating a service instance directly in the view via the class loader WILL NOT autowire other services declared that may live in the service you are trying to use. Using the tag library you will have auto-wiring of those services. In your gsp view <g:customTag param1=”$modelObjec” param2=”someString” /> … Read more