This content has been marked as final.
Show 3 replies
-
1. Re: Entity with multiple names.
gavin.king Oct 12, 2005 1:47 PM (in response to norman.richards)The current approach is @Out(scope=..., value=...)
The next release of Seam should support multiple component roles with @Roles({@Role(name=..., scope=...), ....}). -
2. Re: Entity with multiple names.
cesarizurieta Dec 30, 2005 5:57 PM (in response to norman.richards)I have a working patch that implements the @Roles thing.
With this you can annotate a class this ways:@Name("name") @Scope(EVENT) public class Class { ...
Or@Role(name="name", scope=EVENT) public class Class { ...
Or@Roles({ @Role(name="name1", scope=EVENT), @Role(name="name2", scope=SESSION) }) public class Class { ...
Can anybody try this?
http://jira.jboss.org/jira/browse/JBSEAM-64
The patch patches also the Registration example. -
3. Re: Entity with multiple names.
gavin.king Dec 30, 2005 7:13 PM (in response to norman.richards)Thanks, I had a quick look and it looks about right.
I will take a closer look later.