GrailsInAction / graina2

Source code for the 2nd edition of Grails in Action
90 stars 93 forks source link

Chapter 6, Page 146, Figure 6.4 #127

Open MudassarBashir opened 9 years ago

MudassarBashir commented 9 years ago

Should the last element in the param diagram read 'otherStuff'?

pledbrook commented 9 years ago

Good question. I think an ellipsis (...) would be more appropriate. There isn't a parameter named otherStuff but there are parameters other than the two named ones. If you add a line

println params

to the code, you'll see what else is in there. controller and action parameters are added by Grails and are used internally. It may be a good idea to explain this in the errata.