[jboss-user] [JBoss Seam] - @In (create=true)

blackers do-not-reply at jboss.com
Thu Jun 7 05:33:24 EDT 2007


I am recieving an error when I load my "gameHome" component.  The error is as follows:


  | org.jboss.seam.RequiredException: In attribute requires non-null value: gameHome.oppTeamHome
  | 

My seam component is delcared as follows:

@Name("gameHome")
  | public class GameHome extends EntityHome<Game> {
  | 
  | 	@In(create = true) TeamHome oppTeamHome;
  |         ...
  | 

Is my understanding that if I use create=true that the instance will be created if it's value is null.  Am I missing something?




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

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



More information about the jboss-user mailing list