Results 1 to 2 of 2

Thread: "List All" for ALL Entities

Hybrid View

  1. #1

    Default "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. #2
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    667

    Default

    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 at 07:26 PM. Reason: Typo

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •