Faces doesn't do constructor injection :( ---- Original message ---- >Date: Tue, 06 Dec 2005 18:55:01 -0800 >From: Kurt Edegger <[EMAIL PROTECTED]> >Subject: Bean definition question faces-config.xml >To: MyFaces Discussion <[email protected]> > >Hi, > >I wonder if it is possible to declare the constructor of a bean in >faces-config.xml similar to using <constructor-arg> in spring's >configuration files. >The idea behind this is, that I'd like to inject a bean into my >application and use a referenced bean already in the constructor. >As far as I know and encountered, first the default constructor is >called, then the referenced beans are injected by using the >corresponding setters, and finally the bean is used in the application >depending of the scope. >Or is possible to use/reference Spring beans in faces- config.xml? > >Thank you for your answers, > > Kurt
Dennis Byrne

