[jboss-user] [JBoss Seam] - How to refer to multiple instances of Seam component in JSF

tlu1@cox.net do-not-reply at jboss.com
Fri Feb 23 16:40:49 EST 2007


I have a Seam entity component with the following name

@Name("mortgage")

In my JSF page, I need to work with several instances of "mortgage".  How do I refer to each instance ?

In my session bean, I want Seam to inject the instances as

	@In(value="mortgage1")
	private Mortgage mortgage1;
	@In(value="mortgage2")
	private Mortgage mortgage2;

Thanks, any help is appreciated.

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

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



More information about the jboss-user mailing list