Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with Scaffolding in Chapter 3 #5

Open
nooruddin opened this issue Apr 29, 2012 · 0 comments
Open

Problems with Scaffolding in Chapter 3 #5

nooruddin opened this issue Apr 29, 2012 · 0 comments

Comments

@nooruddin
Copy link

Hi,

I was exploring grails with this amazing book. While progressing through chapter : 3 I came across Scaffolding. I added "def scaffold = true" in both Race and Registration controller. But when I ran my application, clicking on controllers showed me error that index.gsp doesn't exist in grails templates. I changed the closure name to list and tried clicking on RaceController again and came across the following error which is preventing me from progressing ahead. Error dumped below :

Error processing GroovyPageView : Tag [paginate] is missing attirbute [total] at /race/list : 61
org.codehaus.groovy.grails.web.taglib.exceptions.GrailsTagException : Tag [paginate] is missing attirbute [total] at /race/list : 61

at race_list$_run_closure2.doCall(list:61)
at race_list$_run_closure2.doCall(list)
at race_list$_run(list:64)
at java.lang.Thread.run(Thread.java : 662)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant