Announcement Announcement Module
No announcement yet.
Using the "class" Command with Spring Roo Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Using the "class" Command with Spring Roo

    I was taking some advice I read in a different thread to create a custom Form Backing Object for a JSP that would handle two or more entities. The advice was to create a controller, and then to use the class command to create the Form Backing Object (FBO):
    class --class ~web.fbo.NewFormWrapper
    Once you create this empty class, where do I go from here? I tried adding fields to this new class with the field command. Roo does not throw out an error, but I don't see the fields appear in this class. Should I just add them manually?