[jboss-user] [JBoss Seam] - Re: How do I reload a Data Model on a SessionBean everytime

indyJones do-not-reply at jboss.com
Fri Dec 7 10:16:03 EST 2007


ok...i need some help with your suggestion pete...

Here is how I am Outjecting the datamodel into even scope...


  | 
  | @Name("usermanager")
  | @Stateful
  | @Scope(SESSION)
  | @Restrict("#{identity.loggedIn}")
  | public class UserManager implements UserManagerInterface {
  | 
  |         @Out(scope=ScopeType.EVENT)
  | 	@DataModel("users")
  | 	private List<User> users;
  | 
  | 	@Factory("users")
  | 	public List<User> getUsers() { }
  | 
  | }
  | 
  | 

I am doing something wrong....

I know this is easy, I am just not getting it....

Thanks

indy

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111258#4111258

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111258



More information about the jboss-user mailing list