Removing SpringSource Roo Controller

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

I use canned Roo code. I created an object and its associated controller. Then both classes are removed. The problem I see is that the homepage created by Roo still shows the Create / List section for the remote classes. I am running this on a tc server in Eclipse. Any ideas on how to get Roo to refresh the homepage?

Thanks Steve

+3
source share
1 answer

Got an answer. I needed to manually edit WEB-INF / views / menu.jspx, deleting the section associated with the controller. I also noticed a subdirectory in the WEB-INF / controller related views that I deleted to keep it clean. It seems to me that Roo should do this for me since he created the records first.

+2
source

Source: https://habr.com/ru/post/1741168/


All Articles