Philippe,
Maybe you should check out the following to see anything you are missing; an old entry of mine,
http://www.jroller.com/page/cagataycivici?entry=integrating_jsf_and_spring
Regards,
Cagatay Civici,
On 4/2/06, Martin Marinschek <[EMAIL PROTECTED]
> wrote:
Well, as I said.
I've never done that before - injecting spring beans into JSF beans.
Catagay said he has it running, so maybe you should check back with
him...
As I said, I'd have concerns about the scope maybe preventing this
from working...
regards,
Martin
On 4/2/06, Philippe Lamote < [EMAIL PROTECTED]> wrote:
> Nice to see I'm not the only one working my XXX off in weekends ;-)
> Martin, I had actually already added all my JSF beans to my Spring
> xml file.
> Didn't really work, but apparently that wasn't what you meant.
> I removed it again, so the old errors came back... (= if I don't
> explicitely dig the necessary Sping beans up from the FacesContext in
> the JSF bean constructors)
>
> Philippe
>
> On 02 Apr 2006, at 21:05, Dennis Byrne wrote:
>
> Good, cause Sean just branched and I did not want to spend day and
> night looking for a better way ;)
>
> Dennis Byrne
>
> > -----Original Message-----
> > From: Martin Marinschek [mailto:[EMAIL PROTECTED]]
> > Sent: Sunday, April 2, 2006 03:02 PM
> > To: 'MyFaces Discussion'
> > Subject: Re: MyFaces - Spring integration problems
> >
> > No, no.
> >
> > I should be more clear today.
> >
> > What I meant is that the listener will be loaded automatically, and
> > that's good, cause it is absolutely necessary for MyFaces. But you
> > don't have to put it in the web.xml anymore, it will be loaded
> > automatically by the TLD.
> >
> > regards,
> >
> > Martin
> >
> >
> > On 4/2/06, Dennis Byrne <[EMAIL PROTECTED]> wrote:
> >>> You can leave out the StartupServletContextListener, and nothing in
> >>> the whole app will change. This listener is in there for an issue
> >>> with
> >>> the WebLogic container, which has been fixed already.
> >>> Martin
> >>
> >> Martin,
> >>
> >> The deloyment descriptor is also parsed in the listener as well.
> >> Encryption is initialized there too. I have another completed
> >> feature for MyFaces that I am planning on committing today that
> >> uses the listener as well.
> >>
> >> Problems?
> >>
> >> Dennis Byrne
> >>
> >>
> >>
> >
> >
> > --
> >
> > http://www.irian.at
> >
> > Your JSF powerhouse -
> > JSF Consulting, Development and
> > Courses in English and German
> >
> > Professional Support for Apache MyFaces
> >
>
>
>
>
--
http://www.irian.at
Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German
Professional Support for Apache MyFaces

