开发者

SpringSource Roo Controller Removal

Environment: Windows XP, SpringSource Tool Suite 2.3.2, Roo 1.0.2.Release, Java 1.6.0_10, tc Server 6.0

I'm using the canned Roo generated code. I created an entity and associated controller. Then deleted both classes. The problem I'm seeing is the Roo created home page still shows the "Create/List" section for the deleted classe开发者_JS百科s. I'm executing this within the tc Server, within Eclipse. Any ideas on how to get Roo to update the home page?

Thanks, Steve


Got the answer. I needed to manually edit WEB-INF/views/menu.jspx, removing the section related to the controller. I also noticed a subdirectory in WEB-INF/views related to the controller that I removed just to keep things clean. It seems to me Roo should do this for me, since it created the entries initially.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜