Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/cplusplus/161.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
无法在grails应用程序中查看创建的脚手架代码_Grails - Fatal编程技术网

无法在grails应用程序中查看创建的脚手架代码

无法在grails应用程序中查看创建的脚手架代码,grails,Grails,scaffold=true应该使用它的所有视图创建所有crud操作,但是我无法在我的应用程序中看到创建的代码,并且在sampleapplication->views->person下找不到任何视图页面。但是当我运行应用程序时,它工作正常。但我希望看到创建的代码以及创建的视图文件 I have a domain class which is class Person{ int age String firstName String lastName } and I have a control

scaffold=true应该使用它的所有视图创建所有crud操作,但是我无法在我的应用程序中看到创建的代码,并且在sampleapplication->views->person下找不到任何视图页面。但是当我运行应用程序时,它工作正常。但我希望看到创建的代码以及创建的视图文件

I have a domain class which is

class Person{
int age
String firstName
String lastName
}

and I have a controller class which is person controller

class PersonController{
static scaffold=true
...
}
在运行时创建视图和控制器

如果要查看代码,必须使用以下命令:

static scaffold=true 
请在此处阅读更多信息:

grails generate-all Person