grails - How can I pass a string variable from a groovy class file to the controller? -


i building grails application have pulled out username mysql database in side src/groovy/userdetail.groovy class. have stored inside def user. how can pass controller display in view?

to obtain current user within controller can use springsecurityservice. documentation includes example of doing this. there can access property of userdetail.


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -