Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JBoss User Help »

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

scott.stark@jboss.org

2007-06-07


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
_______________________________________________
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user
©2008 junlu.com - Jax Systems, LLC, U.S.A.