You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by bu...@apache.org on 2009/01/18 21:59:51 UTC
svn commit: r735543 - in /ofbiz/trunk/specialpurpose/assetmaint:
webapp/assetmaint/includes/ widget/CommonScreens.xml widget/Menus.xml
Author: buscob
Date: Sun Jan 18 12:59:50 2009
New Revision: 735543
URL: http://svn.apache.org/viewvc?rev=735543&view=rev
Log:
Replaced appheader.ftl with a standard AppBar menu widget in Assetmaint application
Removed:
ofbiz/trunk/specialpurpose/assetmaint/webapp/assetmaint/includes/
Modified:
ofbiz/trunk/specialpurpose/assetmaint/widget/CommonScreens.xml
ofbiz/trunk/specialpurpose/assetmaint/widget/Menus.xml
Modified: ofbiz/trunk/specialpurpose/assetmaint/widget/CommonScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/assetmaint/widget/CommonScreens.xml?rev=735543&r1=735542&r2=735543&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/assetmaint/widget/CommonScreens.xml (original)
+++ ofbiz/trunk/specialpurpose/assetmaint/widget/CommonScreens.xml Sun Jan 18 12:59:50 2009
@@ -31,12 +31,13 @@
<property-map resource="WorkEffortUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/>
<set field="activeApp" value="assetmaint" global="true"/>
- <set field="appheaderTemplate" value="component://assetmaint/webapp/assetmaint/includes/appbar.ftl" global="true"/>
<set field="layoutSettings.companyName" from-field="uiLabelMap.AssetMaintCompanyName" global="true"/>
<set field="layoutSettings.companySubtitle" from-field="uiLabelMap.AssetMaintCompanySubtitle" global="true"/>
<!-- layoutSettings.headerImageUrl can be used to specify an application specific logo; if not set,
then the global layoutSettings.commonHeaderImageUrl (specified in GlobalDecorator) will be used. -->
<!--<set field="layoutSettings.headerImageUrl" value="/images/ofbiz_logo.jpg" global="true"/>-->
+ <set field="applicationMenuName" value="AssetMaintAppBar" global="true"/>
+ <set field="applicationMenuLocation" value="component://assetmaint/widget/Menus.xml" global="true"/>
<set field="applicationTitle" value="${uiLabelMap.AssetMaintApplication}"/>
</actions>
<widgets>
Modified: ofbiz/trunk/specialpurpose/assetmaint/widget/Menus.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/assetmaint/widget/Menus.xml?rev=735543&r1=735542&r2=735543&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/assetmaint/widget/Menus.xml (original)
+++ ofbiz/trunk/specialpurpose/assetmaint/widget/Menus.xml Sun Jan 18 12:59:50 2009
@@ -20,6 +20,13 @@
<menus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-menu.xsd">
+
+ <menu name="AssetMaintAppBar" title="${uiLabelMap.AssetMaintApplication}" extends="CommonAppBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
+ <menu-item name="task" title="${uiLabelMap.WorkEffortTaskList}"><link target="mytasks"/></menu-item>
+ <menu-item name="ListFixedAssets" title="${uiLabelMap.AccountingFixedAssets}"><link target="ListFixedAssets"/></menu-item>
+ <menu-item name="fixedAssetMaints" title="${uiLabelMap.AccountingFixedAssetMaints}"><link target="findFixedAssetMaints"/></menu-item>
+ <menu-item name="facility" title="${uiLabelMap.ProductFacility}"><link target="FindFacility"/></menu-item>
+ </menu>
<menu name="FixedAssetTabBar" extends="FixedAssetTabBar" extends-resource="component://accounting/widget/Menus.xml">
<menu-item name="EditProductMaints" title="${uiLabelMap.AssetMaintProductMaint}">