Thanks Thomas, i realized that i forgot to update the myfaces libs to 1.0.7. Now it still not works, but throws the same exception that the original example. A nullpointer.
How could i make it work? Thanx. -----Original Message----- From: Thomas Spiegl [mailto:[EMAIL PROTECTED] Sent: Saturday, December 18, 2004 6:11 PM To: MyFaces Discussion Subject: Re: tiles example not working hi Béres, the stacktrace indicates you are using myfaces_release 1.0.6 The way the tiles-definitions are getting initialized changed a bit in release 1.0.7. If you are using 1.0.7 you just need to define the location of your tiles-defiinition in your web.xml eg. <context-param> <param-name>tiles-definitions</param-name> <param-value>/WEB-INF/your-tiles.xml</param-value> </context-param> HTH, thomas > Hi > > I'm trying to fire up the myfaces-tiles example 1.07beta. > > It throws this on tomcat5: > >java.lang.NullPointerException > > net.sourceforge.myfaces.application.jsp.JspTilesViewHandlerImpl.renderVi ew(JspTilesViewHandlerImpl.java:154) > > net.sourceforge.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.jav a:287) > > javax.faces.webapp.FacesServlet.service(FacesServlet.java:110) > > net.sourceforge.myfaces.custom.fileupload.MultipartFilter.doFilter(Multi partFilter.java:88) > > > >and in my application: > > > >java.lang.NullPointerException: Tiles DefinitionsFactory must not be null > > net.sourceforge.myfaces.application.jsp.JspTilesViewHandlerImpl.renderVi ew(JspTilesViewHandlerImpl.java:82) > > net.sourceforge.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.jav a:282) > > javax.faces.webapp.FacesServlet.service(FacesServlet.java:110) > > net.sourceforge.myfaces.custom.fileupload.MultipartFilter.doFilter(Multi partFilter.java:88) > > > >can you tell me why? Sorry if i asking about a well known problem, i'm a newbe. > > > ______________________________________________________________ > Miert fizetsz az internetert? Korlatlan, ingyenes internet hozzaferes > a FreeStarttol. > Probald ki most! http://www.freestart.hu > ____________________________________________________________________ Miert fizetsz az internetert? Korlatlan, ingyenes internet hozzaferes a FreeStarttol. Probald ki most! http://www.freestart.hu

