myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Kienenberger" <mkien...@gmail.com>
Subject Re: StartupServletContextListener.setFacesInitializer
Date Fri, 06 Apr 2007 20:58:01 GMT
Oops.   My mistake.  I'm looking at initFaces.  I see no
StartupServletContextListener.setFacesInitializer method in MyFaces
Core 1.1.5.

On 4/6/07, Mike Kienenberger <mkienenb@gmail.com> wrote:
>    public void init(ServletConfig servletConfig)
>         throws ServletException
>     {
>         //Check, if ServletContextListener already called
>         ServletContext servletContext = servletConfig.getServletContext();
>         Boolean b =
> (Boolean)servletContext.getAttribute(org.apache.myfaces.webapp.StartupServletContextListener.FACES_INIT_DONE);
>         if (b == null || b.booleanValue() == false)
>         {
>             log.warn("ServletContextListener not yet called");
>             org.apache.myfaces.webapp.StartupServletContextListener.initFaces(servletConfig.getServletContext());
>
>
>
>
>
> On 4/6/07, Dennis Byrne <dennis@dbyrne.net> wrote:
> > I'm having a hard time seeing where it's invoked.  Can you please help?
> >
> > http://svn.apache.org/viewvc/myfaces/core/tags/1_1_5/impl/src/main/java/org/apache/myfaces/webapp/MyFacesServlet.java?revision=509198&view=markup
> >
> > Dennis Byrne
> >
> >
> > On 4/6/07, Mike Kienenberger <mkienenb@gmail.com> wrote:
> > > org.apache.myfaces.webapp - myfaces-impl-1.1.5.jar
> > >
> > > MyFacesServlet
> > >     init(ServletConfig)
> > > StartupServletContextListener
> > >     contextInitialized(ServletContextEvent)
> > >
> > >
> > > On 4/6/07, Dennis Byrne < dennis@dbyrne.net> wrote:
> > > > Having a little trouble determining when and how this method is invoked.
> > > > Any ideas?
> > > >
> > > > Thanks,
> > > >
> > > > --
> > > > Dennis Byrne
> > >
> >
> >
> >
> > --
> > Dennis Byrne
>

Mime
View raw message