You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by er...@apache.org on 2010/09/02 16:27:17 UTC

svn commit: r991947 - in /ofbiz/trunk: framework/common/widget/PortalPageScreens.xml themes/bluelight/includes/appbarClose.ftl

Author: erwan
Date: Thu Sep  2 14:27:17 2010
New Revision: 991947

URL: http://svn.apache.org/viewvc?rev=991947&view=rev
Log:
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">