Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I want to disable Roo scaffolding

Tags:

spring-roo

Because I have manually tuned my entities and controllers and view, I would like roo to change none of them. Nevertheless I would like roo to keep on scaffolding all new entities. How could I do that

like image 440
gpasse Avatar asked Jun 03 '11 15:06

gpasse


1 Answers

You can modify the @RooWebScaffold annotation in your entity by adding update=false attribute for it.

@RooWebScaffold(path = "<yourpath>", formBackingObject = <YourClass>.class, update=false)

This tells Roo not to scaffold and update views for the generated entity.

Cheers!!!

like image 115
bhagyas Avatar answered Sep 18 '22 14:09

bhagyas