portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject svn commit: r565870 - /portals/jetspeed-2/branches/JETSPEED-2.1.3/components/portal/src/java/org/apache/jetspeed/container/invoker/LocalPortletInvoker.java
Date Tue, 14 Aug 2007 19:40:04 GMT
Author: taylor
Date: Tue Aug 14 12:40:03 2007
New Revision: 565870

URL: http://svn.apache.org/viewvc?view=rev&rev=565870
Log:
https://issues.apache.org/jira/browse/JS2-769

Modified:
    portals/jetspeed-2/branches/JETSPEED-2.1.3/components/portal/src/java/org/apache/jetspeed/container/invoker/LocalPortletInvoker.java

Modified: portals/jetspeed-2/branches/JETSPEED-2.1.3/components/portal/src/java/org/apache/jetspeed/container/invoker/LocalPortletInvoker.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/branches/JETSPEED-2.1.3/components/portal/src/java/org/apache/jetspeed/container/invoker/LocalPortletInvoker.java?view=diff&rev=565870&r1=565869&r2=565870
==============================================================================
--- portals/jetspeed-2/branches/JETSPEED-2.1.3/components/portal/src/java/org/apache/jetspeed/container/invoker/LocalPortletInvoker.java
(original)
+++ portals/jetspeed-2/branches/JETSPEED-2.1.3/components/portal/src/java/org/apache/jetspeed/container/invoker/LocalPortletInvoker.java
Tue Aug 14 12:40:03 2007
@@ -188,11 +188,7 @@
             {
                 RenderRequest renderRequest = (RenderRequest) portletRequest;
                 RenderResponse renderResponse = (RenderResponse) portletResponse;
-
-                renderResponse.setContentType("text/html");
-                // TODO: ???
-                // renderResponse.getWriter().print(portletDefinition.getName());
-
+                renderResponse.setContentType(requestContext.getMimeType());
                 portletInstance.render(renderRequest, renderResponse);
             }
         }



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message