简体   繁体   中英

Grails 2.3.7 Intellij Scaffold doesn't create list.gsp

I'm using version 12.1.7 of intellij and I created a controller in grails.

class ExampleController {
    static scaffold = true
    ...
}

Now when I tell intellij to generate the views, it generates the following

  • _form.gsp
  • create.gsp
  • edit.gsp
  • index.gsp
  • show.gsp

however it is missing the list.gsp. Is there a specific reason for this? Must I create a list() function first before using scaffolding? You would think list would be a default view.

There is no longer a list in grails 2.3.x. The index is considered the list. If you look at index.gsp, I'm sure you'll see a table.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM