Author: buscob
Date: Sun Jan 18 12:56:29 2009 New Revision: 735540 URL: http://svn.apache.org/viewvc?rev=735540&view=rev Log: Replaced appheader.ftl with a standard AppBar menu widget in Manufacturing application Removed: ofbiz/trunk/applications/manufacturing/webapp/manufacturing/includes/ Modified: ofbiz/trunk/applications/manufacturing/widget/manufacturing/CommonScreens.xml ofbiz/trunk/applications/manufacturing/widget/manufacturing/Menus.xml Modified: ofbiz/trunk/applications/manufacturing/widget/manufacturing/CommonScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/manufacturing/widget/manufacturing/CommonScreens.xml?rev=735540&r1=735539&r2=735540&view=diff ============================================================================== --- ofbiz/trunk/applications/manufacturing/widget/manufacturing/CommonScreens.xml (original) +++ ofbiz/trunk/applications/manufacturing/widget/manufacturing/CommonScreens.xml Sun Jan 18 12:56:29 2009 @@ -40,7 +40,8 @@ <!-- <set field="layoutSettings.headerMiddleBackgroundUrl" value="" global="true"/> --> <!-- <set field="layoutSettings.headerRightBackgroundUrl" value="" global="true"/> --> <set field="activeApp" value="manufacturing" global="true"/> - <set field="appheaderTemplate" value="component://manufacturing/webapp/manufacturing/includes/appheader.ftl" global="true"/> + <set field="applicationMenuName" value="ManufacturingAppBar" global="true"/> + <set field="applicationMenuLocation" value="component://manufacturing/widget/manufacturing/Menus.xml" global="true"/> <set field="applicationTitle" value="${uiLabelMap.ManufacturingManagerApplication}" global="true"/> </actions> <widgets> Modified: ofbiz/trunk/applications/manufacturing/widget/manufacturing/Menus.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/manufacturing/widget/manufacturing/Menus.xml?rev=735540&r1=735539&r2=735540&view=diff ============================================================================== --- ofbiz/trunk/applications/manufacturing/widget/manufacturing/Menus.xml (original) +++ ofbiz/trunk/applications/manufacturing/widget/manufacturing/Menus.xml Sun Jan 18 12:56:29 2009 @@ -21,6 +21,64 @@ <menus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-menu.xsd"> + <menu name="ManufacturingAppBar" title="${uiLabelMap.AccountingManagerApplication}" extends="CommonAppBarMenu" extends-resource="component://common/widget/CommonMenus.xml"> + <menu-item name="jobshop" title="${uiLabelMap.ManufacturingJobShop}"> + <condition> + <if-has-permission permission="MANUFACTURING" action="_CREATE"/> + </condition> + <link target="FindProductionRun"/> + </menu-item> + <menu-item name="routing" title="${uiLabelMap.ManufacturingRouting}"> + <condition> + <if-has-permission permission="MANUFACTURING" action="_CREATE"/> + </condition> + <link target="FindRouting"/> + </menu-item> + <menu-item name="routingTask" title="${uiLabelMap.ManufacturingRoutingTask}"> + <condition> + <if-has-permission permission="MANUFACTURING" action="_CREATE"/> + </condition> + <link target="FindRoutingTask"/> + </menu-item> + <menu-item name="calendar" title="${uiLabelMap.ManufacturingCalendar}"> + <condition> + <if-has-permission permission="MANUFACTURING" action="_CREATE"/> + </condition> + <link target="FindCalendar"/> + </menu-item> + <menu-item name="costs" title="${uiLabelMap.ManufacturingCostCalcs}"> + <condition> + <if-has-permission permission="MANUFACTURING" action="_CREATE"/> + </condition> + <link target="EditCostCalcs"/> + </menu-item> + <menu-item name="bom" title="${uiLabelMap.ManufacturingBillOfMaterials}"> + <condition> + <if-has-permission permission="MANUFACTURING" action="_CREATE"/> + </condition> + <link target="FindBom"/> + </menu-item> + <menu-item name="mrp" title="${uiLabelMap.ManufacturingMrp}"> + <condition> + <if-has-permission permission="MANUFACTURING" action="_CREATE"/> + </condition> + <link target="FindInventoryEventPlan"/> + </menu-item> + <menu-item name="ShipmentPlans" title="${uiLabelMap.ManufacturingShipmentPlans}"> + <condition> + <if-has-permission permission="MANUFACTURING" action="_CREATE"/> + </condition> + <link target="WorkWithShipmentPlans"/> + </menu-item> + <menu-item name="ManufacturingReports" title="${uiLabelMap.ManufacturingReports}"> + <condition> + <if-has-permission permission="MANUFACTURING" action="_CREATE"/> + </condition> + <link target="ManufacturingReports"/> + </menu-item> + </menu> + + <menu name="BomTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml"> <menu-item name="findBom" title="${uiLabelMap.CommonFind}"> <link target="FindBom"/> |
Free forum by Nabble | Edit this page |