incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r815378 - /sling/whiteboard/portal/container/src/main/java/org/apache/sling/portal/container/internal/PortletRenderResponseContextImpl.java
Date Tue, 15 Sep 2009 15:58:50 GMT
Author: cziegeler
Date: Tue Sep 15 15:58:49 2009
New Revision: 815378

URL: http://svn.apache.org/viewvc?rev=815378&view=rev
Log:
Change flag to hide title bar.

Modified:
    sling/whiteboard/portal/container/src/main/java/org/apache/sling/portal/container/internal/PortletRenderResponseContextImpl.java

Modified: sling/whiteboard/portal/container/src/main/java/org/apache/sling/portal/container/internal/PortletRenderResponseContextImpl.java
URL: http://svn.apache.org/viewvc/sling/whiteboard/portal/container/src/main/java/org/apache/sling/portal/container/internal/PortletRenderResponseContextImpl.java?rev=815378&r1=815377&r2=815378&view=diff
==============================================================================
--- sling/whiteboard/portal/container/src/main/java/org/apache/sling/portal/container/internal/PortletRenderResponseContextImpl.java
(original)
+++ sling/whiteboard/portal/container/src/main/java/org/apache/sling/portal/container/internal/PortletRenderResponseContextImpl.java
Tue Sep 15 15:58:49 2009
@@ -72,7 +72,7 @@
                 this.title = ((SlingPortletWindow)window).getPortletEntity().getPortletEntityId().getKey();
             }
         }
-        this.writeTitle = ((SlingPortletWindow)window).getConfiguration().get("showTitleBar",
true);
+        this.writeTitle = !((SlingPortletWindow)window).getConfiguration().get("hideTitleBar",
false);
     }
 
     private boolean written() {



Mime
View raw message