I am uncertain about beginning working with my own Roo-generated controllers. I create a custom controller:
controller scaffold --class ~web.SizeChartController --entity ~admin.Measurement
and I am unsure what I am looking at or how to proceed. After researching this I see that @Controller and @RooWebScaffold annotations establish this class as a controller, but of what type?
For example, what if I want to make this a SimpleFormController- can I still do that? Do I define it in the annotations or with an extends statement?
Also: let's say I want this controller to return an entity for editing... what is the proper process for doing that? Say the entity has a generated id, do I need to create a finder for that entity and use that code in my controller to fetch the object?
Thanks.


Reply With Quote
