This content has been marked as final.
Show 2 replies
-
1. Re: Navigation page numbers using EntityHome
christian.bauer Oct 13, 2007 12:01 PM (in response to terryb)Well, EntityHome is for managing _one_ instance of an entity. If you want the previous/next entity instances, you need some kind of collection obviously or a query that retrieves them. There are dozens of ways how you can do that but I don't think EntityHome is relevant.
-
2. Re: Navigation page numbers using EntityHome
terryb Oct 13, 2007 12:17 PM (in response to terryb)I was thinking of navigation buttons for childern records when EntityHome has one-many relationship, eg on Organisation view page, like to list Organisation Users in a f:subview; and have navigation buttons for subview data (Organisation Users). But with seam-gen example, it accesses subview data via EntityHome. I am new to seam stuff, and having problem figuring our, how I can achieve this.
public class OrganisationHome extends EntityHome<...>{ ... public List<...> getOrganisationUsers() { } ... }