Hi you are describing exactly the reason why people have been moving to
facelets in the jsf realm several years ago.
My recommendation is simply forget about Tiles use Facelets.
It does the same and more as tiles, and comes natively with JSF 2.0
as new templating/rendering layer.
So people have woken up quite a while ago :-)
Werner
Am 14.06.10 20:11, schrieb rada:
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