Hi Antonio
Thanks for getting back to me..unfortunately I'm really struggling
here (may also be due to the fact that both my kids keep me up all
night..but thats another issue). I removed the freemarker jsp tag
from my ftls and I'm getting the following:
java.lang.IllegalArgumentException: Cannot find a factory to create
the request context
org.apache.tiles.context.ChainedTilesRequestContextFactory.createRequestContext(ChainedTilesRequestContextFactory.java:141)
org.apache.tiles.impl.BasicTilesContainer.getRequestContext(BasicTilesContainer.java:540)
org.apache.tiles.impl.BasicTilesContainer.getAttributeContext(BasicTilesContainer.java:199)
org.apache.tiles.template.ImportAttributeModel.getImportedAttributes(ImportAttributeModel.java:68)
org.apache.tiles.freemarker.template.ImportAttributeFMModel.execute(ImportAttributeFMModel.java:69)
Looking at the test tiles from svn I can see a testtileslistener which
extends tileslistener. I need to configure a listener in my web.xml
however the test contains quite a number of other classes which I
don't know if I need. Is there a extended tileslistener that I can
use?
Thanks for your help and patience!
Amin
2009/3/31 Amin Mohammed-Coleman <[email protected]>:
>�Is there any documentation on how to use the component?
Nope, as I said before is under heavy development.
> �I can't
> see any of the freemarker support classes being invovked when I debug. �As I
> mentioned earlier i am using freemarker jsp tag support.
If you use FreeMarker JSP support, the classes in tiles-freemarker are
not used. You should use TilesFreeMarkerServlet to make it work, so
you won't need Tiles JSP tags.
See the tiles-test webapp for
examples:http://svn.eu.apache.org/repos/asf/tiles/framework/trunk/tiles-test/
HTH
Antonio