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.renderView(JspTilesViewHandlerImpl.java:154)

       
net.sourceforge.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:287)

       javax.faces.webapp.FacesServlet.service(FacesServlet.java:110)

       
net.sourceforge.myfaces.custom.fileupload.MultipartFilter.doFilter(MultipartFilter.java:88)



and in my application:



java.lang.NullPointerException: Tiles DefinitionsFactory must not be null

       
net.sourceforge.myfaces.application.jsp.JspTilesViewHandlerImpl.renderView(JspTilesViewHandlerImpl.java:82)

       
net.sourceforge.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:282)

       javax.faces.webapp.FacesServlet.service(FacesServlet.java:110)

       
net.sourceforge.myfaces.custom.fileupload.MultipartFilter.doFilter(MultipartFilter.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





Reply via email to