Created
May 15, 2011 16:51
-
-
Save sourcerebels/973298 to your computer and use it in GitHub Desktop.
How to get params, request and session values from a Grails application
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class TestController { | |
def list = { | |
def page = params.page | |
def theList = request.theList | |
def user = session.loggedUser | |
} } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment