[jboss-user] [JBoss Seam] - Re: Name of @In Parameters

2006-11-10 Thread monkeyden
ccanning wrote : If you want Seam to create it, try (create=true). I have been searching for some definition of the requirements for create=true to actually work. Is it simply the presence of a no-arg constructor? Does it have to be a SessionBean (i.e. something with an implicit create

[jboss-user] [JBoss Seam] - Re: Name of @In Parameters

2006-11-10 Thread petemuir
There has to be a no-args constructor on a Seam component (probably annotated with @Name, though could be defined in components.xml) OR an @Factory for thhat value AFAIK View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3984928#3984928 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Name of @In Parameters

2006-11-09 Thread ccanning
I am new to seam, but I will try to answer the question. It appears that the ICheckoutAction is currently null. If it is allowed to be null, you should use (required=false). If you want Seam to create it, try (create=true). I think the exception prepends the name so you know which component is

[jboss-user] [JBoss Seam] - Re: Name of @In Parameters

2006-11-09 Thread chane
thanks, that would make sense about the name. My next problem then is how is that component null. What I didn't show is that this is part of a pageflow and the first step in the pageflow setups the ICheckoutAction which I include below. I'm pretty sure that an exception was not thrown prior