Showing posts with label GrailsParameterMap. Show all posts
Showing posts with label GrailsParameterMap. Show all posts

Tuesday, November 8, 2016

Grails get retrieve GrailsParameterMap params from service class or util class

Have to import:
import org.springframework.web.context.request.RequestContextHolder

and use following:
def params = RequestContextHolder.getRequestAttributes().params