Announcement Announcement Module
Collapse
No announcement yet.
Creating find by Controllers Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Creating find by Controllers

    I'm building out a new Roo app. I'd like to know if there's a best practice guide to creating a new Controller similar to the "Find by..." Controllers seen in the Pet Clinic app?

    Ex:
    Find by Description
    Find by Date Between
    etc.

    I have an Instrument entity which I've already created a Controller using scaffolding. How, using Roo, can I create a series of "find by" controllers for my Instrument entity? I know the "hard way" of doing this, programmatically by hand, but I'd like to know if Roo provides any shortcuts. I couldn't find anything relevant in the docs.

    Thanks in advance,
    Stephen

  • #2
    Check out these finder commands in the reference docs:
    • finder list
    • finder add
    Also please see my tip about generating multi-field finders.

    Comment

    Working...
    X