[jboss-user] [JBoss Seam] - outjection problem?

seammm do-not-reply at jboss.com
Wed Mar 14 18:51:29 EDT 2007

hi - 

i have the code below that works in one project and but not in a second one and i could not find why because i have the same entity/action beans in both projects.. both use the same seam/jboss setup.. the error i am getting is the following:

"attempted to bind an Out attribute of the wrong type to: registerUser.newAddress"

any clue is appreciated. thanks.

public class RegisterUserAction implements RegisterUser, Serializable {
	@In(required = false) @Out
	private User newUser;
	@In(required = false) @Out
	private Address newAddress;

	@In(required=false, create=true)
    private EntityManager entityManager;

    @In @Out 
    Identity identity;

	private Log log;

    private String addressTag;
    @Factory("newUser") @Begin
    public void start() {
    	newUser = new User();
    	newAddress = new Address();

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

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

More information about the jboss-user mailing list