Announcement Announcement Module
Collapse
No announcement yet.
"List All" for ALL Entities Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • "List All" for ALL Entities

    Is there any way for me to to have an entity or something that when clicked shows me ALL the data entered (i.e. "List all" for all entities)? I played around with it for a bit but
    couldn't find anyway to do this.

    Thanks..

    -Shelby

  • #2
    So for example in the Pet Clinic sample application, a single list would show you all Pets, Owners, Vets, and Visits? If so, I guess that could be useful for admin/debug purposes, but I can't see such a list being useful for end-users. In any case, what columns would it contain? I guess you could show the ID and toString() of each entity.

    So the short answer is that Roo can't generate this view for you, but you could write your own controller, view, and JPA queries if you knew exactly what you wanted to show.
    Last edited by Andrew Swan; Sep 6th, 2011, 08:26 PM. Reason: Typo

    Comment

    Working...
    X