Author: erwan
Date: Thu Sep 2 14:27:17 2010
New Revision: 991947
URL:
http://svn.apache.org/viewvc?rev=991947&view=revLog:
Showing the title when a portal page is displayed on screen
Modified:
ofbiz/trunk/framework/common/widget/PortalPageScreens.xml
ofbiz/trunk/themes/bluelight/includes/appbarClose.ftl
Modified: ofbiz/trunk/framework/common/widget/PortalPageScreens.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/widget/PortalPageScreens.xml?rev=991947&r1=991946&r2=991947&view=diff==============================================================================
--- ofbiz/trunk/framework/common/widget/PortalPageScreens.xml (original)
+++ ofbiz/trunk/framework/common/widget/PortalPageScreens.xml Thu Sep 2 14:27:17 2010
@@ -84,6 +84,8 @@ under the License.
<actions>
<set field="layoutSettings.javaScripts[]" value="/images/myportal.js" global="true"/>
<set field="layoutSettings.styleSheets[+0]" value="/images/myportal.css" global="true"/>
+ <entity-one entity-name="PortalPage" value-field="portalPage"/>
+ <set field="title" from-field="portalPage.portalPageName" default-value=""/>
</actions>
<widgets>
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
Modified: ofbiz/trunk/themes/bluelight/includes/appbarClose.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/themes/bluelight/includes/appbarClose.ftl?rev=991947&r1=991946&r2=991947&view=diff==============================================================================
--- ofbiz/trunk/themes/bluelight/includes/appbarClose.ftl (original)
+++ ofbiz/trunk/themes/bluelight/includes/appbarClose.ftl Thu Sep 2 14:27:17 2010
@@ -21,6 +21,7 @@ under the License.
<div class="breadcrumbs-sep">
<#if titleProperty?exists>
${uiLabelMap[titleProperty]}
+ <#else>${(page.title)?if_exists}
</#if>
</div>
<div class="breadcrumbs-end">