I was trying to combine myfaces with tiles 2.1 and the same result.

I have a working Tiles project and a working MyFaces project



The result is xml hell with of course large number of cryptic impossible to
understand errors.

One should create a XML free Java. It took 6 years for J2EE to realize that
deployment descriptors were a total failure. 

LOL Wake up people.


Just in case anybody managed to integrate without writing 100 lines of
obscure XML that will come back to haunt us please let me know.

CHeers,
TADA



Marshall Crocker wrote:
> 
> I have not been able to get myfaces 1.2.8, tomahawk, 1.1.19, and tiles 2.2
> to work together.  Tiles 2.0.5 works just fine but when I try to use 2.2 I
> get
> 
> Error reading tiles definitions : null
> Caused by:
> java.lang.NullPointerException - Error reading tiles definitions : null
> 
> I'm guessing that it has something to do with the way Tiles 2.2 loads the
> tiles definition.  Before 2.2 it would default to the SimpleTilesListener
> or SimpleTilesInitializerServlet but with 2.2 you have to start a servlet
> or listener yourself.  When I try to do that I get a geronimo
> configuration error plus I assumed the tomahawk
> jsp.JspTilesTwoViewHandlerImpl was supposed to take the place of any of
> the Tiles 2.2 configuration classes.
> 
> Does anyone know how to get these two to work together?
> 
> Thanks
> Marshall
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Using-Tiles-2.2-with-myfaces-tomahawk-tp28119618p28882849.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to