-
1. Re: Scope of EntityHome
dhinojosa Jun 7, 2008 10:36 PM (in response to kooudy)Any component installed in components.xml is conversation by default, I assume that would include the EntityHome. If you are extending it the scope would still be conversation if you don't include a @Scope(ScopeType.CONVERSATION).
-
2. Re: Scope of EntityHome
dan.j.allen Jun 9, 2008 7:57 PM (in response to kooudy)> Any component installed in components.xml is conversation by
> defaultActually, this is not true. There are default scopes for each of the types. EntityHome is a JavaBean, so the default scope would be EVENT. Excecpt that the parent Home class has a @Scope(CONVERSATION) annotation, which is inherited by any descendant class.
Your question about tabs is somewhat confusing, so I will try to answer it. The reason Seam knows what entity to load is because the id of the entity is made available on postback due to the fact that the id is configured as a page parameter. That is, if you are talking about the tabs on the view pages in seam-gen.
-
3. Re: Scope of EntityHome
kooudy Jun 10, 2008 4:24 PM (in response to kooudy)thanks
that is exactly I wanted
:) -