Results 1 to 2 of 2

Thread: remove entity from Web Scaffold

  1. #1
    Join Date
    Jan 2012
    Posts
    21

    Default remove entity from Web Scaffold

    I have a project generated with Spring Roo 1.2.2

    After generate all the jpa entities and web pages (using web mvc all --package ~.web) I need to remove some pages that not are needed in the final project (internal tables)

    I have removed the
    Code:
     @RooWebScaffold
    annotation from the controller class and executed again web
    Code:
    mvc all --package ~.web
    , but nothing happends.

    What is the correct way to remove the web code (pages, menu ect...) associated to one specific entity?

  2. #2
    Join Date
    Aug 2010
    Location
    Goteborg, Sweden
    Posts
    434

    Default

    AFAIK, you'll have to do this by hand. While the web scaffolded files may mostly be Roo managed you may have also made your own edits to the generated views so Roo will not remove these by default.

    I believe this is all in the documentation.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •