Steve Wall
Steve Wall

Reputation: 1932

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 classes. I'm executing this within the tc Server, within Eclipse. Any ideas on how to get Roo to update the home page?

Thanks, Steve

Upvotes: 3

Views: 1333

Answers (1)

Steve Wall
Steve Wall

Reputation: 1932

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.

Upvotes: 2

Related Questions