understand show action receive parameter in grails 2.3

J

javagrails

Guest
def show(Human humanInstance) {
//Explain : when we click this action from view that link shows like < /app/human/show/1 > with id
//and saw before it execute the -respond humanInstance- like it makes 2 sql query
//Q1: I send an id from gsp but how < def show(Human humanInstance) > receive an humanInstance ?
//Q2: And where the SQL query executed to get humanInstance ?
respond humanInstance
}

http://grails.1312388.n4.nabble.com/file/n4656686/showAction.PNG
 
Top