Thank you, Eric, for this tip.
I have add a supports text/plain tag in my portlet.xml.
Now, my portlet is rendered without exception using Apache Tiles,
but the portal decoration does'nt be rendered by Pluto.
The start of the resulting HTML page is missing (no <html> nor <head> tags) !

The need of this 'text/plain' Mime type still confuses me because my portlet is 
rendered as an HTML page.

May be there is a clash between the String MVC's ViewRendererServlet and the 
PLuto's PortletServlet one ?
Any other ideas ?
--Frantz

--------------------
Eric Dalquist wrote:

Does your portlet.xml file declare that it supports text/plain?

--------------------
Frantz Degrigny wrote:
Hello,
I'm trying to develop a prototype using Spring-Portlet-MVC (2.5.6) and Tiles 2.1 with Pluto 1.1.7
I have only manged to obtain the following error :
Error rendering portlet.

javax.portlet.PortletException
at org.apache.pluto.internal.impl.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:113)

[...]

at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)


at org.apache.tiles.servlet.context.ServletTilesRequestContext.forward(ServletTilesRequestContext.java:241)


    ... 88 more

It seens to be a clash between PLuto RenderResponseImpl and Tiles InsertAttributeTag due to content type 'text/plain'?
Any idea ?

--
Frantz




Reply via email to