-
1. Re: one EntityHome with different entity instances
lvdberg Apr 9, 2011 12:20 PM (in response to vata2999)Hi,
maybe the Role annotation can do that for you, it isn't the same as multiple instances, but it is multiple Home's with the same bean.
Leo
-
2. Re: one EntityHome with different entity instances
vata2999 Apr 9, 2011 2:02 PM (in response to vata2999)Hi Leo,
Thanks for your reply
sounds you are live Seam in Action
I think it couldn't be possible to have one home and many instances though @Roles meet my need but the problem is i don't know how many instance i should create it depends on client and is dynamic so i have to create component dynamically do u know how can i create Seam Components dynamically in entityHome and bind them to form ?
-
3. Re: one EntityHome with different entity instances
lvdberg Apr 9, 2011 6:02 PM (in response to vata2999)Hi,
If that is your problem, why don't you make a
ManagerBean
, which contains a Map or List of entities which are createdon-the-fly
. The EntityHome is a very nice component, but it has some restrictions which makes it often necessary to build your own component.You can learn a lot from the sources, they are included in the distribution and they provide a lot of info, to build specific components yourself.
Leo