[jboss-user] [JBoss Seam] - seamSelectItems-1.1.1beta4 and EntityManager injection

sradford do-not-reply at jboss.com
Thu Jan 11 12:37:48 EST 2007


Is it working?

i.e. If I specify an alternate EntityManager in components.xml it isn't being injected:

<component name="org.jboss.seam.selectitems.SelectItemsConfig">
  |     <property name="entityManager">#{MyAlternateEM}</property>
  | </component>

I know 'MyAlternateEM' exists as the rest of my app is using it, and if I debug org.jboss.seam.selectitems.Config#find(Class,Object) and change the String 'entityManager' passed into Component.getInstance() to 'MyAlternateEM' all is well.

(I've also tried dropping the '#{' and '}' from around 'MyAlternateEM' in components.xml to no avail)

Any ideas?

Thanks and regards,

Sean

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

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



More information about the jboss-user mailing list