开发者

SpringSource Roo Controller Removal

开发者 https://www.devze.com 2022-12-27 10:58 出处:网络
Environment: Windows XP, SpringSource Tool Suite 2.3.2, Roo 1.0.2.Release, Java 1.6.0_10, tc Server 6.0

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

精彩评论

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

关注公众号