[jboss-user] [JBoss Seam] - Re: All injections are disinjected when used in a component

gavin.king@jboss.com do-not-reply at jboss.com
Wed Oct 25 16:09:09 EDT 2006


I can't reproduce this, the following works just fine for me:

@Name("username")
public class Username
{
   @In User user;
   
   @Unwrap
   public String get()
   {
      return user.getUsername();
   }
}

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

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



More information about the jboss-user mailing list