Hello.

As already reported in many messages, the configuration for portlet
applications is just TBD, and it's a bit... limited to have a concrete
idea of it !

I've been looking for simple examples using Tiles alone in a simple
portlet application, but... nothing...

I've build a simple test, using a web configuration I've adapted from
a working web application :
1) A listener to initialize :
org.apache.tiles.web.startup.simple.SimpleTilesListener
2) A servlet to dispatch :
org.apache.tiles.web.util.TilesDispatchServlet (intercepting *.tiles)

The portlet, in the "doView" phase calls
"getPortletContext().getRequestDispatcher("/home.tiles").include(request,
response)"

All seems to work. according to to logs, definitions are found, and
when I change correct names to introduces errors, effectively errors
occur !

Only problem : no content is produced !

It seems that the rendering phase starts as expected, and the logger
says : "Render request recieved for definition 'home'
org.apache.tiles.impl.BasicTilesContainer" where 'home' is the correct
name of the targeted definition.

But after that, nothing seems to be done...

Any idea  ?

For information, my test portal is Liferay 6.1.

I've already tested the portlet and its packaging using directly a
simple JSP instead of the Tiles, and they work all.

Thanks for your help.
Regards

Reply via email to