[jboss-user] [JBoss Seam] - Re: How does one @In(ject) a component from components.xml?

gothmog do-not-reply at jboss.com
Sat Jun 30 22:11:31 EDT 2007


Hey thanks guys, both approaches work. 

I copied one of the sample projects (contactlist) and I noticed that it has a two component.xml files, one in the META-INF and another in the WEB-INF. 

Both of these are required otherwise you start getting weird errors like I said in the earlier post. The weird thing is, is that I can comment out all the text in the components.xml in the META-INF and it still works, but as soon as I remove it, the whole things falls apart on deployment. I also notice the registration example doesn't have two component.xml files but has a seam.properties (empty) file. 

I need to do some reading on how this thing is configured and what each file does, but thanks for getting me past this problem?

Troy

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

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



More information about the jboss-user mailing list