-
1. Re: Two components with the same name and precedence
xantos92 Dec 15, 2011 7:17 AM (in response to xantos92)lol, i am so stupid of course it doesn't work, there are two classes with the same name..
@Name("org.jboss.seam.security.identity")
-
2. Re: Two components with the same name and precedence
kenfinni Dec 15, 2011 12:44 PM (in response to xantos92)1 of 1 people found this helpfulJonas,
If you want to add additional info into Identity within a Portal, it's best to extend PortalIdentity as opposed to the Seam one, as there is Portal specific integration points within PortalIdentity that you would miss.
-
3. Re: Two components with the same name and precedence
xantos92 Dec 16, 2011 4:47 AM (in response to kenfinni)Hi Ken.
Well, i solved the problem by modifing my own class:
@Install(precedence = Install.FRAMEWORK+1) and copied the source code of Portalidentity into my own class to combine both classes into one.
I also though about extending, but importing portalidentityclass is a little bit complicated (because Seam web Project). I also thought about modify the sourcecode of portletbridge, but this seems not necessary.
Well, there is another error, but i haven't found the reason yet.
Greetings