Announcement Announcement Module
Collapse
No announcement yet.
prevent scaffolding overwriting changes Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • prevent scaffolding overwriting changes

    I have made several changes to my jspx files for the scaffolding generated by roo. How do I prevent roo from overriding my changes when I add more fields and such to my entities?

  • #2
    There is a flag in the RooWebScaffold annotation which tells Roo to keep away from the jspx artifacts:

    Code:
    @RooWebScaffold(automaticallyMaintainView = false,...)
    This will prevent Roo from overwriting your jspx files for this specific controller (create.jspx, updated.jspx, show.jspx and list.jspx). However, this also means that updates to your domain object exposed by this controller will not be reflected in the view artifacts.

    We will revisit this behavior and improve on it after the Roo 1.0 GA release. There are a number of tickets with ideas already in our Jira: (see ROO-8 for example).

    Cheers,
    Stefan

    Comment

    Working...
    X