开发者

Spring roo scaffold action on an existing controller

I am new to spring roo and I am having issues trying to scaffold with an entity an already generated controller.

If I scaffold a new controller with an entity I get generated all the aspectJ files automatically, however if I try to scaffold an already generated controller (see example code) it generates a ApplicationConversionServiceFactoryBean which I am not sure what to use it for.

`controller class --class ~.web.MyController
controlle开发者_StackOverflow中文版r scaffold --class ~.web.MyController --entity ~.model.User`

any ideas?


ApplicationServiceFactoryBean.java is used to store converters for your entities which will be used for display purposes throughout the application.

A sample usage of this file is available in the following answer.

<table:column> Roo-tag for property of referenced entity

Cheers!!!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜