Author: julien_viet
Date: 2009-10-30 11:38:54 -0400 (Fri, 30 Oct 2009)
New Revision: 461
Modified:
portal/branches/performance/component/portal/src/main/java/org/exoplatform/portal/config/model/PageNode.java
portal/branches/performance/webui/core/src/main/java/org/exoplatform/webui/application/portlet/PortletApplication.java
Log:
- actually use no additional buffer for now as it requires a flush when rendering a
portlet
- GTNPORTAL-132 : Set label as resolved label when a PageNode is created from a
NavigationNodeData object
Modified:
portal/branches/performance/component/portal/src/main/java/org/exoplatform/portal/config/model/PageNode.java
===================================================================
---
portal/branches/performance/component/portal/src/main/java/org/exoplatform/portal/config/model/PageNode.java 2009-10-30
15:15:19 UTC (rev 460)
+++
portal/branches/performance/component/portal/src/main/java/org/exoplatform/portal/config/model/PageNode.java 2009-10-30
15:38:54 UTC (rev 461)
@@ -69,6 +69,7 @@
//
this.uri = nav.getURI();
this.label = nav.getLabel();
+ this.resolvedLabel = label;
this.icon = nav.getIcon();
this.name = nav.getName();
this.startPublicationDate = nav.getStartPublicationDate();
Modified:
portal/branches/performance/webui/core/src/main/java/org/exoplatform/webui/application/portlet/PortletApplication.java
===================================================================
---
portal/branches/performance/webui/core/src/main/java/org/exoplatform/webui/application/portlet/PortletApplication.java 2009-10-30
15:15:19 UTC (rev 460)
+++
portal/branches/performance/webui/core/src/main/java/org/exoplatform/webui/application/portlet/PortletApplication.java 2009-10-30
15:38:54 UTC (rev 461)
@@ -281,10 +281,7 @@
{
RenderResponse renderRes = (RenderResponse)res;
renderRes.setContentType("text/html; charset=UTF-8");
-
- // We use 2048 as the underlying PC will initialize by default
- // a ByteArrayOutputStream that has a size of 32
- w = new PortalPrinter(renderRes.getPortletOutputStream(), true, 512);
+ w = new PortalPrinter(renderRes.getPortletOutputStream(), true, 0);
}
if (context != null)
{
Show replies by date