Added: ofbiz/trunk/specialpurpose/assetmaint/webapp/assetmaint/includes/appbar.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/assetmaint/webapp/assetmaint/includes/appbar.ftl?view=auto&rev=498895 ============================================================================== --- ofbiz/trunk/specialpurpose/assetmaint/webapp/assetmaint/includes/appbar.ftl (added) +++ ofbiz/trunk/specialpurpose/assetmaint/webapp/assetmaint/includes/appbar.ftl Mon Jan 22 18:27:12 2007 @@ -0,0 +1,87 @@ +<#-- +Licensed under the Apache License, Version 2.0 (the "License"); you may not +use this file except in compliance with the License. You may obtain a copy of +the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +License for the specific language governing permissions and limitations +under the License. +--> + +<#if (requestAttributes.externalLoginKey)?exists><#assign externalKeyParam = "?externalLoginKey=" + requestAttributes.externalLoginKey?if_exists></#if> +<#if (externalLoginKey)?exists><#assign externalKeyParam = "?externalLoginKey=" + requestAttributes.externalLoginKey?if_exists></#if> +<#assign ofbizServerName = application.getAttribute("_serverId")?default("default-server")> +<#assign contextPath = request.getContextPath()> + +<#if userLogin?has_content> +<#assign unselectedClass = {"col" : "tabdownblock", "left" : "tabdownleft", "center" : "tabdowncenter", "right" : "tabdownright", "link" : "tablink"}> +<#assign selectedClass = {"col" : "mainblock", "left" : "tabupleft", "center" : "tabupcenter", "right" : "tabupright", "link" : "tablinkselected"}> +<#--Just for now Later fix --> +<#assign class = selectedClass> + +<table align="center" width="100%" border="0" cellspacing="0" cellpadding="0"> + <tr bgcolor="#FFFFFF"> + <td><div class="appbarleft"></div></td> + <td height="15" width="100%"> + <table width="100%" border="0" cellspacing="0" cellpadding="0"> + <tr> + <#if appbarItem?if_exists != "fixedAssets"><#assign class = unselectedClass><#else><#assign class = selectedClass></#if> + <td height="20" class="${class.col}"> + <table width="100%" border="0" cellspacing="0" cellpadding="0"> + <tr> + <td class="${class.left}"><a href="<@ofbizUrl>/findFixedAssets</@ofbizUrl>" title="${uiLabelMap.AccountingFixedAssets}" class="${class.link}"><img src="<@ofbizContentUrl>/images/spacer.gif</@ofbizContentUrl>" alt="" width="10" height="15" border="0"></a></td> + <td nowrap="nowrap" class="${class.center}"><a href="<@ofbizUrl>/findFixedAssets</@ofbizUrl>" class="${class.link}">${uiLabelMap.AccountingFixedAssets}</a></td> + <td class="${class.right}"><a href="<@ofbizUrl>/findFixedAssets</@ofbizUrl>" title="${uiLabelMap.AccountingFixedAssets}" class="${class.link}"><img src="<@ofbizContentUrl>/images/spacer.gif</@ofbizContentUrl>" alt="" width="10" height="15" border="0"></a></td> + </tr> + <#if appbarItem?if_exists != "fixedAssets"> + <tr><td colspan="3" class="blackarea"><img src="<@ofbizContentUrl>/images/spacer.gif</@ofbizContentUrl>" alt="" height="1"></td></tr> + <tr><td colspan="3" class="whitearea"><img src="<@ofbizContentUrl>/images/spacer.gif</@ofbizContentUrl>" alt="" height="1"></td></tr> + </#if> + </table> + </td> + <#if appbarItem?if_exists != "fixedAssetMaints"><#assign class = unselectedClass><#else><#assign class = selectedClass></#if> + <td height="20" class="${class.col}"> + <table width="100%" border="0" cellspacing="0" cellpadding="0"> + <tr> + <td class="${class.left}"><a href="<@ofbizUrl>/findFixedAssetMaints</@ofbizUrl>" title="${uiLabelMap.AccountingFixedAssetMaints}" class="${class.link}"><img src="<@ofbizContentUrl>/images/spacer.gif</@ofbizContentUrl>" alt="" width="10" height="15" border="0"></a></td> + <td nowrap="nowrap" class="${class.center}"><a href="<@ofbizUrl>/findFixedAssetMaints</@ofbizUrl>" class="${class.link}">${uiLabelMap.AccountingFixedAssetMaints}</a></td> + <td class="${class.right}"><a href="<@ofbizUrl>/findFixedAssetMaints</@ofbizUrl>" title="${uiLabelMap.AccountingFixedAssetMaints}" class="${class.link}"><img src="<@ofbizContentUrl>/images/spacer.gif</@ofbizContentUrl>" alt="" width="10" height="15" border="0"></a></td> + </tr> + <#if appbarItem?if_exists != "fixedAssetMaints"> + <tr><td colspan="3" class="blackarea"><img src="<@ofbizContentUrl>/images/spacer.gif</@ofbizContentUrl>" alt="" height="1"></td></tr> + <tr><td colspan="3" class="whitearea"><img src="<@ofbizContentUrl>/images/spacer.gif</@ofbizContentUrl>" alt="" height="1"></td></tr> + </#if> + </table> + </td> + <#if appbarItem?if_exists != "facility"><#assign class = unselectedClass><#else><#assign class = selectedClass></#if> + <td height="20" class="${class.col}"> + <table width="100%" border="0" cellspacing="0" cellpadding="0"> + <tr> + <td class="${class.left}"><a href="<@ofbizUrl>/FindFacility?facilityTypeId=WAREHOUSE</@ofbizUrl>" title="${uiLabelMap.ProductWarehouse}" class="${class.link}"><img src="<@ofbizContentUrl>/images/spacer.gif</@ofbizContentUrl>" alt="" width="10" height="15" border="0"></a></td> + <td nowrap="nowrap" class="${class.center}"><a href="<@ofbizUrl>/FindFacility?facilityTypeId=WAREHOUSE</@ofbizUrl>" class="${class.link}">${uiLabelMap.ProductWarehouse}</a></td> + <td class="${class.right}"><a href="<@ofbizUrl>/FindFacility?facilityTypeId=WAREHOUSE</@ofbizUrl>" title="${uiLabelMap.ProductWarehouse}" class="${class.link}"><img src="<@ofbizContentUrl>/images/spacer.gif</@ofbizContentUrl>" alt="" width="10" height="15" border="0"></a></td> + </tr> + <#if appbarItem?if_exists != "facility"> + <tr><td colspan="3" class="blackarea"><img src="<@ofbizContentUrl>/images/spacer.gif</@ofbizContentUrl>" alt="" height="1"></td></tr> + <tr><td colspan="3" class="whitearea"><img src="<@ofbizContentUrl>/images/spacer.gif</@ofbizContentUrl>" alt="" height="1"></td></tr> + </#if> + </table> + </td> + <td><div class="appbarright"></div></td> + <td width="100%" class="appbarresize"> + <table width="100%" border="0" cellspacing="0" cellpadding="0"> + <tr> + <td class="whitearea"><img src="<@ofbizContentUrl>/images/spacer.gif</@ofbizContentUrl>" alt="" height="1"></td> + </tr> + </table> + </td> + </tr> + </table> + </td> + </tr> +</table> +</#if> Propchange: ofbiz/trunk/specialpurpose/assetmaint/webapp/assetmaint/includes/appbar.ftl ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/assetmaint/webapp/assetmaint/includes/appbar.ftl ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/trunk/specialpurpose/assetmaint/webapp/assetmaint/includes/appbar.ftl ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: ofbiz/trunk/specialpurpose/assetmaint/widget/AssetmaintScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/assetmaint/widget/AssetmaintScreens.xml?view=auto&rev=498895 ============================================================================== --- ofbiz/trunk/specialpurpose/assetmaint/widget/AssetmaintScreens.xml (added) +++ ofbiz/trunk/specialpurpose/assetmaint/widget/AssetmaintScreens.xml Mon Jan 22 18:27:12 2007 @@ -0,0 +1,212 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- +Licensed under the Apache License, Version 2.0 (the "License"); you may not +use this file except in compliance with the License. You may obtain a copy of +the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +License for the specific language governing permissions and limitations +under the License. +--> + +<screens xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:noNamespaceSchemaLocation="http://www.ofbiz.org/dtds/widget-screen.xsd"> + + <screen name="FindFixedAssetMaints"> + <section> + <actions> + <set field="titleProperty" value="PageTitleFindFixedAssetMaints"/> + </actions> + <widgets> + <decorator-screen name="CommonFixedAssetMaintDecorator" location="${parameters.mainDecoratorLocation}"> + <decorator-section name="body"> + <container style="boxoutside"> + <container style="screenlet-header"> + <label style="boxhead">${uiLabelMap.PageTitleFindFixedAssetMaints}</label> + </container> + <container style="boxbottom"> + <include-form name="FindFixedAssetMaint" location="component://assetmaint/widget/forms/FixedAssetForms.xml" /> + </container> + </container> + <label><br/></label> + <container><link target="EditFixedAssetMaint" text="${uiLabelMap.AccountingNewFixedAssetMaint}" style="buttontext"/></container> + <include-form name="ListFixedAssetMaints" location="component://assetmaint/widget/forms/FixedAssetForms.xml" /> + </decorator-section> + </decorator-screen> + </widgets> + </section> + </screen> + + <screen name="EditFixedAssetMaint"> + <section> + <actions> + <set field="titleProperty" value="Edit WorkOrder"/> + <set field="tabButtonItem" value="EditFixedAssetMaint"/> + <set field="fixedAssetId" from-field="parameters.fixedAssetId"/> + <set field="maintHistSeqId" from-field="parameters.maintHistSeqId"/> + <entity-one entity-name="FixedAsset" value-name="fixedAsset"/> + <entity-one entity-name="FixedAssetMaint" value-name="fixedAssetMaint"/> + <set field="workEffortId" from-field="fixedAssetMaint.scheduleWorkEffortId"/> + <entity-one entity-name="WorkEffort" value-name="workEffort"/> + <get-related-one value-name="workEffort" relation-name="WorkEffortType" to-value-name="workEffortType"/> + <get-related-one value-name="workEffort" relation-name="CurrentStatusItem" to-value-name="currentStatusItem"/> + <get-related-one value-name="workEffort" relation-name="WorkEffortPurposeType" to-value-name="workEffortPurposeType"/> + <get-related-one value-name="fixedAsset" relation-name="LocatedAtFacility" to-value-name="facility"/> + <entity-and entity-name="WorkEffortPartyAssignView" list-name="relatedPartyAssigns"> + <field-map field-name="workEffortId"/> + </entity-and> + </actions> + <widgets> + <decorator-screen name="CommonFixedAssetMaintDecorator" location="${parameters.mainDecoratorLocation}"> + <decorator-section name="body"> + <container><link target="EditFixedAssetMaint?fixedAssetId=${fixedAssetId}" text="${uiLabelMap.AccountingNewFixedAssetMaint}" style="buttontext"/></container> + <container><link target="printFixedAssetMaints.pdf?fixedAssetId=${fixedAssetId}&maintHistSeqId=${maintHistSeqId}" text="${uiLabelMap.CommonPrint}" style="buttontext"/></container> + <container style="boxoutside"> + <container style="screenlet-header"> + <label style="boxhead">${uiLabelMap.AccountingNewFixedAssetMaint}</label> + </container> + <container style="boxbottom"> + <include-form name="EditFixedAssetMaint" location="component://assetmaint/widget/forms/FixedAssetForms.xml"/> + </container> + </container> + </decorator-section> + </decorator-screen> + </widgets> + </section> + </screen> + + <screen name="EditFixedAssetMaintMeters"> + <section> + <actions> + <set field="titleProperty" value="PageTitleEditFixedAssetMaintenance"/> + <set field="tabButtonItem" value="EditFixedAssetMeter"/> + <set field="labelTitleProperty" value="PageTitleEditFixedAssetMaintenance"/> + <set field="fixedAssetId" from-field="parameters.fixedAssetId"/> + <set field="maintHistSeqId" from-field="parameters.maintHistSeqId"/> + <entity-one entity-name="FixedAsset" value-name="fixedAsset"/> + <entity-one entity-name="FixedAssetMaint" value-name="fixedAssetMaint"/> + </actions> + <widgets> + <decorator-screen name="CommonFixedAssetMaintDecorator" location="${parameters.mainDecoratorLocation}"> + <decorator-section name="body"> + <include-form name="ListFixedAssetMaintMeters" location="component://accounting/webapp/accounting/fixedasset/FixedAssetForms.xml"/> + <include-form name="AddFixedAssetMaintMeter" location="component://accounting/webapp/accounting/fixedasset/FixedAssetForms.xml"/> + </decorator-section> + </decorator-screen> + </widgets> + </section> + </screen> + + <screen name="EditWorkEfforts"> + <section> + <actions> + <set field="tabButtonItem" value="EditWorkEfforts"/> + <script location="component://assetmaint/webapp/assetmaint/WEB-INF/actions/workeffort/EditWorkEfforts.bsh"/> + </actions> + <widgets> + <decorator-screen name="CommonFixedAssetMaintDecorator" location="${parameters.mainDecoratorLocation}"> + <decorator-section name="body"> + <section> + <condition> + <if-empty field-name="workEffort"/> + </condition> + <widgets> + <label style="head1">${uiLabelMap.PageTitleEditWorkEffort}</label> + <include-form name="EditWorkEffort" location="component://assetmaint/widget/forms/WorkEffortForms.xml"/> + </widgets> + <fail-widgets> + <include-form name="EditWorkEffort" location="component://assetmaint/widget/forms/WorkEffortForms.xml"/> + <container><label style="head1">${uiLabelMap.PageTitleChildWorkEfforts}</label></container> + <include-form name="WorkEffortChildren" location="component://assetmaint/widget/forms/WorkEffortForms.xml"/> + <include-form name="AddWorkEffortChild" location="component://assetmaint/widget/forms/WorkEffortForms.xml"/> + </fail-widgets> + </section> + </decorator-section> + </decorator-screen> + </widgets> + </section> + </screen> + + <screen name="EditWorkEffortTimeEntries"> + <section> + <actions> + <set field="titleProperty" value="PageTitleListWorkEffortTimeEntries"/> + <set field="tabButtonItem" value="EditWorkEffortTimeEntries"/> + <set field="labelTitleProperty" value="PageTitleListWorkEffortTimeEntries"/> + + <set field="workEffortId" from-field="parameters.workEffortId"/> + <set field="fixedAssetId" from-field="parameters.fixedAssetId"/> + <set field="maintHistSeqId" from-field="parameters.maintHistSeqId"/> + <entity-one entity-name="FixedAsset" value-name="fixedAsset"/> + <entity-one entity-name="FixedAssetMaint" value-name="fixedAssetMaint"/> + <script location="component://assetmaint/webapp/assetmaint/WEB-INF/actions/workeffort/EditWorkEfforts.bsh"/> + </actions> + <widgets> + <decorator-screen name="CommonFixedAssetMaintDecorator" location="${parameters.mainDecoratorLocation}"> + <decorator-section name="body"> + <container><label style="head1">${uiLabelMap.PageTitleListWorkEffortTimeEntries}</label></container> + <include-form name="ListWorkEffortTimeEntries" location="component://assetmaint/widget/forms/WorkEffortForms.xml"/> + <container><label style="head1">${uiLabelMap.PageTitleAddWorkEffortTimeEntry}</label></container> + <include-form name="AddWorkEffortTimeEntry" location="component://assetmaint/widget/forms/WorkEffortForms.xml"/> + </decorator-section> + </decorator-screen> + </widgets> + </section> + </screen> + + <screen name="EditWorkEffortNotes"> + <section> + <actions> + <set field="titleProperty" value="PageTitleListWorkEffortNotes"/> + <set field="tabButtonItem" value="EditWorkEffortNotes"/> + <set field="labelTitleProperty" value="PageTitleListWorkEffortNotes"/> + + <set field="workEffortId" from-field="parameters.workEffortId"/> + <set field="fixedAssetId" from-field="parameters.fixedAssetId"/> + <set field="maintHistSeqId" from-field="parameters.maintHistSeqId"/> + <entity-one entity-name="FixedAsset" value-name="fixedAsset"/> + <entity-one entity-name="FixedAssetMaint" value-name="fixedAssetMaint"/> + <script location="component://assetmaint/webapp/assetmaint/WEB-INF/actions/workeffort/EditWorkEfforts.bsh"/> + </actions> + <widgets> + <decorator-screen name="CommonFixedAssetMaintDecorator" location="${parameters.mainDecoratorLocation}"> + <decorator-section name="body"> + <container><label style="head1">${uiLabelMap.PageTitleListWorkEffortNotes}</label></container> + <include-form name="ListWorkEffortNotes" location="component://assetmaint/widget/forms/WorkEffortForms.xml"/> + <container><label style="head1">${uiLabelMap.PageTitleAddWorkEffortNotes}</label></container> + <include-form name="AddWorkEffortNote" location="component://assetmaint/widget/forms/WorkEffortForms.xml"/> + </decorator-section> + </decorator-screen> + </widgets> + </section> + </screen> + + <screen name="EditItemIssuences"> + <section> + <actions> + <set field="titleProperty" value="PageTitleListItemIssuence"/> + <set field="tabButtonItem" value="EditItemIssuences"/> + <set field="labelTitleProperty" value="PageTitleListItemIssuence"/> + + <set field="fixedAssetId" from-field="parameters.fixedAssetId"/> + <set field="maintHistSeqId" from-field="parameters.maintHistSeqId"/> + <entity-one entity-name="FixedAsset" value-name="fixedAsset"/> + <entity-one entity-name="FixedAssetMaint" value-name="fixedAssetMaint"/> + </actions> + <widgets> + <decorator-screen name="CommonFixedAssetMaintDecorator" location="${parameters.mainDecoratorLocation}"> + <decorator-section name="body"> + <container><label style="head1">${uiLabelMap.PageTitleListItemIssuence}</label></container> + <include-form name="ListItemIssuence" location="component://assetmaint/widget/forms/FixedAssetForms.xml"/> + <container><label style="head1">${uiLabelMap.PageTitleAddItemIssuence}</label></container> + <include-form name="AddItemIssuence" location="component://assetmaint/widget/forms/FixedAssetForms.xml"/> + </decorator-section> + </decorator-screen> + </widgets> + </section> + </screen> +</screens> Propchange: ofbiz/trunk/specialpurpose/assetmaint/widget/AssetmaintScreens.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/assetmaint/widget/AssetmaintScreens.xml ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/trunk/specialpurpose/assetmaint/widget/AssetmaintScreens.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Added: ofbiz/trunk/specialpurpose/assetmaint/widget/CommonScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/assetmaint/widget/CommonScreens.xml?view=auto&rev=498895 ============================================================================== --- ofbiz/trunk/specialpurpose/assetmaint/widget/CommonScreens.xml (added) +++ ofbiz/trunk/specialpurpose/assetmaint/widget/CommonScreens.xml Mon Jan 22 18:27:12 2007 @@ -0,0 +1,181 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- +Licensed under the Apache License, Version 2.0 (the "License"); you may not +use this file except in compliance with the License. You may obtain a copy of +the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +License for the specific language governing permissions and limitations +under the License. +--> + +<screens xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:noNamespaceSchemaLocation="http://www.ofbiz.org/dtds/widget-screen.xsd"> + <screen name="main-decorator"> + <section> + <actions> + <property-map resource="AssetMaintUiLabels" map-name="uiLabelMap" global="true"/> + <property-map resource="AccountingUiLabels" map-name="uiLabelMap" global="true"/> + <property-map resource="PartyUiLabels" map-name="uiLabelMap" global="true"/> + <property-map resource="ProductUiLabels" map-name="uiLabelMap" global="true"/> + <property-map resource="WorkEffortUiLabels" map-name="uiLabelMap" global="true"/> + <property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/> + + <!-- The two default (global) stylesheets are added to the list + of stylesheets to the first and second position --> + <set field="layoutSettings.styleSheets[+0]" value="/images/maincss.css" global="true"/> + <set field="layoutSettings.styleSheets[+1]" value="/images/tabstyles.css" global="true"/> + + <set field="layoutSettings.companyName" from-field="uiLabelMap.AssetMaintCompanyName" global="true"/> + <set field="layoutSettings.companySubtitle" from-field="uiLabelMap.AssetMaintCompanySubtitle" global="true"/> + <set field="layoutSettings.headerImageUrl" value="/images/ofbiz_logo.jpg" global="true"/> + </actions> + <widgets> + <!-- render header --> + <platform-specific><html><html-template location="component://common/webcommon/includes/header.ftl"/></html></platform-specific> + <!-- render appbar --> + <platform-specific><html><html-template location="component://assetmaint/webapp/assetmaint/includes/appbar.ftl"/></html></platform-specific> + <container style="contentarea"> + <container style="${MainColumnStyle}"> + <!-- render messages --> + <platform-specific><html><html-template location="component://common/webcommon/includes/messages.ftl"/></html></platform-specific> + <decorator-section-include name="body"/> + </container> + </container> + <!-- render footer --> + <platform-specific><html><html-template location="component://common/webcommon/includes/footer.ftl"/></html></platform-specific> + </widgets> + </section> + </screen> + + <screen name="login"> + <section> + <widgets> + <decorator-screen name="main-decorator"> + <decorator-section name="body"> + <platform-specific> + <html><html-template location="component://common/webcommon/login.ftl"/></html> + </platform-specific> + </decorator-section> + </decorator-screen> + </widgets> + </section> + </screen> + + <screen name="CommonFixedAssetDecorator"><!--Appbar level decorator--> + <section> + <actions> + <set field="appbarItem" global="true" value="fixedAssets"/> + </actions> + <widgets> + <decorator-screen name="main-decorator"> + <decorator-section name="body"> + <section> + <!-- TODO: do check for ASSETMAINT, _VIEW permission --> + <condition> + <if-has-permission permission="OFBTOOLS" action="_VIEW"/> + </condition> + <widgets> + <section> + <condition><not><if-empty field-name="fixedAssetId"/></not></condition> + <widgets> + <include-menu name="FixedAssetTabBar" location="component://assetmaint/widget/Menus.xml"/> + <label style="head1" text="${uiLabelMap.${labelTitleProperty}} ${uiLabelMap.CommonFor}: ${fixedAsset.fixedAssetName} [${uiLabelMap.CommonId}:${fixedAssetId}] ${${extraFunctionName}}"/> + </widgets> + </section> + </widgets> + <fail-widgets> + <label style="head3" text="${uiLabelMap.AcccountingViewPermissionError}"/> + </fail-widgets> + </section> + <decorator-section-include name="body"/> + </decorator-section> + </decorator-screen> + </widgets> + </section> + </screen> + + <screen name="CommonFixedAssetMaintDecorator"><!--Appbar level decorator--> + <section> + <actions> + <set field="appbarItem" value="fixedAssetMaints"/> + </actions> + <widgets> + <decorator-screen name="main-decorator"> + <decorator-section name="body"> + <section> + <!-- TODO: do check for ACCOUNTING, WORKEFFORT, ASSETMAINT, _VIEW permission --> + <condition> + <if-has-permission permission="OFBTOOLS" action="_VIEW"/> + </condition> + <widgets> + <section> + <condition> + <and> + <not><if-empty field-name="fixedAssetId"/></not> + <not><if-empty field-name="maintHistSeqId"/></not> + </and> + </condition> + <widgets> + <include-menu name="FixedAssetMaintTabBar" location="component://assetmaint/widget/Menus.xml"/> + <label style="head1" text="${uiLabelMap.${labelTitleProperty}} ${uiLabelMap.CommonFor}: ${fixedAsset.fixedAssetName} [${uiLabelMap.CommonId}:${fixedAssetId}] ${${extraFunctionName}}"/> + </widgets> + </section> + </widgets> + <fail-widgets> + <label style="head3" text="${uiLabelMap.AcccountingViewPermissionError}"/> + </fail-widgets> + </section> + <decorator-section-include name="body"/> + </decorator-section> + </decorator-screen> + </widgets> + </section> + </screen> + + <screen name="CommonFacilityDecorator"> + <section> + <actions> + <set field="appbarItem" value="facility"/> + <set field="facilityId" from-field="parameters.facilityId"/> + <entity-one entity-name="Facility" value-name="facility"/> + </actions> + <widgets> + <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}"> + <decorator-section name="body"> + <section> + <condition> + <if-has-permission permission="FACILITY" action="_VIEW"/> + </condition> + <widgets> + <section> + <condition> + <or> + <not><if-empty field-name="facility"/></not> + <not><if-empty field-name="displayWithNoFacility"/></not> + </or> + </condition> + <widgets> + <include-menu name="FacilityTabBar" location="component://assetmaint/widget/Menus.xml"/> + <decorator-section-include name="body"/> + </widgets> + <fail-widgets> + <label style="head3">${uiLabelMap.ProductErrorFacilityIdNotFound}</label> + </fail-widgets> + </section> + </widgets> + <fail-widgets> + <label style="head3">${uiLabelMap.ProductFacilityViewPermissionError}</label> + </fail-widgets> + </section> + </decorator-section> + </decorator-screen> + </widgets> + </section> + </screen> +</screens> + \ No newline at end of file Propchange: ofbiz/trunk/specialpurpose/assetmaint/widget/CommonScreens.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/assetmaint/widget/CommonScreens.xml ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/trunk/specialpurpose/assetmaint/widget/CommonScreens.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Added: ofbiz/trunk/specialpurpose/assetmaint/widget/FacilityScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/assetmaint/widget/FacilityScreens.xml?view=auto&rev=498895 ============================================================================== --- ofbiz/trunk/specialpurpose/assetmaint/widget/FacilityScreens.xml (added) +++ ofbiz/trunk/specialpurpose/assetmaint/widget/FacilityScreens.xml Mon Jan 22 18:27:12 2007 @@ -0,0 +1,121 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- +Licensed under the Apache License, Version 2.0 (the "License"); you may not +use this file except in compliance with the License. You may obtain a copy of +the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +License for the specific language governing permissions and limitations +under the License. +--> + +<screens xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:noNamespaceSchemaLocation="http://www.ofbiz.org/dtds/widget-screen.xsd"> + <screen name="FindFacility"> + <section> + <actions> + <set field="appbarItem" value="facility"/> + <entity-condition entity-name="Facility" list-name="facilities"> + <condition-expr field-name="facilityTypeId" value="WAREHOUSE"/> + <order-by field-name="facilityId"/> + </entity-condition> + </actions> + <widgets> + <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}"> + <decorator-section name="body"> + <include-form name="ListFacilities" location="component://assetmaint/widget/forms/FacilityForms.xml" /> + </decorator-section> + </decorator-screen> + </widgets> + </section> + </screen> + <screen name="CommonFacilityDecorator"> + <section> + <actions> + <set field="facilityId" from-field="parameters.facilityId"/> + <entity-one entity-name="Facility" value-name="facility"/> + </actions> + <widgets> + <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}"> + <decorator-section name="body"> + <section> + <condition> + <if-has-permission permission="FACILITY" action="_VIEW"/> + </condition> + <widgets> + <section> + <condition> + <or> + <not><if-empty field-name="facility"/></not> + <not><if-empty field-name="displayWithNoFacility"/></not> + </or> + </condition> + <widgets> + <include-menu name="FacilityTabBar" location="component://assetmaint/widget/Menus.xml"/> + <decorator-section-include name="body"/> + </widgets> + <fail-widgets> + <label style="head3">${uiLabelMap.ProductErrorFacilityIdNotFound}</label> + </fail-widgets> + </section> + </widgets> + <fail-widgets> + <label style="head3">${uiLabelMap.ProductFacilityViewPermissionError}</label> + </fail-widgets> + </section> + </decorator-section> + </decorator-screen> + </widgets> + </section> + </screen> + <screen name="ViewFacilityInventoryByProduct"> + <section> + <actions> + <set field="titleProperty" value="PageTitleEditFacilityInventoryItems"/> + <set field="headerItem" value="facility"/> + <set field="tabButtonItem" value="EditFacilityInventoryItems"/> + <set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer" default-value="0"/> + <set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="50"/> + + <!-- This is the target of the search form--> + <set field="facilityInventoryByProductScreen" value="ViewFacilityInventoryByProduct"/> + + <set field="facilityId" from-field="parameters.facilityId"/> + <set field="productTypeId" from-field="parameters.productTypeId"/> + <set field="searchInProductCategoryId" from-field="parameters.searchInProductCategoryId"/> + <set field="productSupplierId" from-field="parameters.productSupplierId"/> + <set field="offsetQOHQty" from-field="parameters.offsetQOHQty"/> + <set field="offsetATPQty" from-field="parameters.offsetATPQty"/> + <set field="productsSoldThruTimestamp" from-field="parameters.productsSoldThruTimestamp"/> + <set field="internalName" from-field="parameters.internalName"/> + <set field="productId" from-field="parameters.productId"/> + + <script location="component://product/webapp/facility/WEB-INF/actions/facility/countFacilityInventoryByProduct.bsh"/> + </actions> + <widgets> + <decorator-screen name="CommonFacilityDecorator"> + <decorator-section name="body"> + + <container> + <label style="head1">${uiLabelMap.PageTitleEditFacilityInventoryItems} ${uiLabelMap.CommonFor}:</label> + <label style="head2">${facility.facilityName} [${uiLabelMap.CommonId}:${facilityId}]</label> + </container> + <container> + <link target="EditFacilityInventoryItems?facilityId=${facilityId}" text="${uiLabelMap.ProductInventoryItems}" style="buttontext"/> + <!--<link target="ViewFacilityInventoryByProductSimple?facilityId=${facilityId}" text="${uiLabelMap.CommonPrint}" style="buttontext"/>--> + <link target="ViewFacilityInventoryByProductReport?${searchParameterString}" text="${uiLabelMap.CommonPrint}" style="buttontext"/> + <link target="ViewFacilityInventoryByProductExport?${searchParameterString}" text="${uiLabelMap.CommonExport}" style="buttontext"/> + </container> + + <include-form name="FindFacilityInventoryByProduct" location="component://product/webapp/facility/facility/FacilityForms.xml"/> + <include-form name="ListFacilityInventoryByProduct" location="component://product/webapp/facility/facility/FacilityForms.xml"/> + </decorator-section> + </decorator-screen> + </widgets> + </section> + </screen> +</screens> Propchange: ofbiz/trunk/specialpurpose/assetmaint/widget/FacilityScreens.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/assetmaint/widget/FacilityScreens.xml ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/trunk/specialpurpose/assetmaint/widget/FacilityScreens.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Added: ofbiz/trunk/specialpurpose/assetmaint/widget/FixedAssetScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/assetmaint/widget/FixedAssetScreens.xml?view=auto&rev=498895 ============================================================================== --- ofbiz/trunk/specialpurpose/assetmaint/widget/FixedAssetScreens.xml (added) +++ ofbiz/trunk/specialpurpose/assetmaint/widget/FixedAssetScreens.xml Mon Jan 22 18:27:12 2007 @@ -0,0 +1,131 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- +Licensed under the Apache License, Version 2.0 (the "License"); you may not +use this file except in compliance with the License. You may obtain a copy of +the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +License for the specific language governing permissions and limitations +under the License. +--> + +<screens xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:noNamespaceSchemaLocation="http://www.ofbiz.org/dtds/widget-screen.xsd"> + + <screen name="FindFixedAssets"> + <section> + <actions> + <set field="titleProperty" value="AccountingFindFixedAsset" /> + <set field="labelTitleProperty" value="AccountingFindFixedAsset" /> + </actions> + <widgets> + <decorator-screen name="CommonFixedAssetDecorator" location="${parameters.mainDecoratorLocation}"> + <decorator-section name="body"> + <container style="boxoutside"> + <container style="screenlet-header"> + <label style="boxhead">${uiLabelMap.AccountingFixedAssets}</label> + </container> + <container style="boxbottom"> + <include-form name="FindFixedAssets" location="component://assetmaint/widget/forms/FixedAssetForms.xml" /> + </container> + </container> + <label><br/></label> + <container> + <link target="editFixedAsset" text="${uiLabelMap.AccountingNewFixedAsset}" style="buttontext" /> + </container> + <include-form name="ListFixedAssets" location="component://assetmaint/widget/forms/FixedAssetForms.xml" /> + </decorator-section> + </decorator-screen> + </widgets> + </section> + </screen> + + <!-- Create/Update Equipment --> + <screen name="EditFixedAsset"> + <section> + <actions> + <set field="titleProperty" value="AccountingEditFixedAsset" /> + <set field="labelTitleProperty" value="AccountingEditFixedAsset" /> + <set field="tabButtonItem" value="EditFixedAsset" /> + + <set field="fixedAssetId" from-field="parameters.fixedAssetId" /> + <entity-one entity-name="FixedAsset" value-name="fixedAsset" /> + </actions> + <widgets> + <decorator-screen name="CommonFixedAssetDecorator" location="${parameters.mainDecoratorLocation}"> + <decorator-section name="body"> + <container> + <link target="editFixedAsset" text="${uiLabelMap.AccountingNewFixedAsset}" style="buttontext" /> + </container> + <label><br/></label> + <container style="boxoutside"> + <container style="screenlet-header"> + <label style="boxhead">${uiLabelMap.AccountingEditFixedAsset}</label> + </container> + <include-form name="EditFixedAsset" location="component://assetmaint/widget/forms/FixedAssetForms.xml" /> + </container> + <!--platform-specific> + <html><html-template location="component://assetmaint/webapp/assetmaint/includes/EquipmentsFocus.ftl"/></html> + </platform-specific--> + </decorator-section> + </decorator-screen> + </widgets> + </section> + </screen> + + <screen name="FixedAssetChildren"> + <section> + <actions> + <set field="titleProperty" value="AccountingEditFixedAsset"/> + <set field="labelTitleProperty" value="AccountingFixedAssetChildren"/> + <set field="tabButtonItem" value="FixedAssetChildren"/> + <set field="fixedAssetId" from-field="parameters.fixedAssetId"/> + <set field="trail" from-field="parameters.trail" default-value="${parameters.fixedAssetId}"/> + <set field="fixedAssetId" from-field="parameters.trail"/> + <entity-one entity-name="FixedAsset" value-name="fixedAsset"/> + </actions> + <widgets> + <decorator-screen name="CommonFixedAssetDecorator" location="${parameters.mainDecoratorLocation}"> + <decorator-section name="body"> + <include-tree name="TreeFixedAsset" location="component://accounting/widget/AccountingTrees.xml" /> + </decorator-section> + </decorator-screen> + </widgets> + </section> + </screen> + + <screen name="EditFixedAssetStdCosts"> + <section> + <actions> + <set field="titleProperty" value="PageTitleEditFixedAssetStdCost"/> + <set field="labelTitleProperty" value="AccountingFixedAssetStdCosts"/> + <set field="tabButtonItem" value="EditFixedAssetStdCosts"/> + + <set field="fixedAssetId" from-field="parameters.fixedAssetId"/> + <set field="fixedAssetStdCostTypeId" from-field="parameters.fixedAssetStdCostTypeId"/> + <set field="fromDate" from-field="parameters.fromDate"/> + + <entity-one entity-name="FixedAsset" value-name="fixedAsset" auto-field-map="true"/> + <entity-one entity-name="FixedAssetStdCost" value-name="fixedAssetStdCost" auto-field-map="true"/> + <set field="fixedAssetId" from-field="parameters.fixedAssetId"/> + <entity-one entity-name="FixedAsset" value-name="fixedAsset" auto-field-map="true"/> + <entity-and entity-name="FixedAssetStdCost" list-name="fixedAssetStdCosts"> + <field-map env-name="fixedAsset.fixedAssetId" field-name="fixedAssetId"/> + </entity-and> + </actions> + <widgets> + <decorator-screen name="CommonFixedAssetDecorator" location="${parameters.mainDecoratorLocation}"> + <decorator-section name="body"> + <container><link target="EditFixedAssetStdCost?fixedAssetId=${fixedAsset.fixedAssetId}" text="${uiLabelMap.AccountingNewFixedAssetStdCost}" style="buttontext"/></container> + <include-form name="ListFixedAssetStdCosts" location="component://accounting/webapp/accounting/fixedasset/FixedAssetForms.xml"/> + <include-form name="EditFixedAssetStdCost" location="component://accounting/webapp/accounting/fixedasset/FixedAssetForms.xml"/> + </decorator-section> + </decorator-screen> + </widgets> + </section> + </screen> +</screens> Propchange: ofbiz/trunk/specialpurpose/assetmaint/widget/FixedAssetScreens.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/assetmaint/widget/FixedAssetScreens.xml ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/trunk/specialpurpose/assetmaint/widget/FixedAssetScreens.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Added: ofbiz/trunk/specialpurpose/assetmaint/widget/LookupScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/assetmaint/widget/LookupScreens.xml?view=auto&rev=498895 ============================================================================== --- ofbiz/trunk/specialpurpose/assetmaint/widget/LookupScreens.xml (added) +++ ofbiz/trunk/specialpurpose/assetmaint/widget/LookupScreens.xml Mon Jan 22 18:27:12 2007 @@ -0,0 +1,46 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- +Licensed under the Apache License, Version 2.0 (the "License"); you may not +use this file except in compliance with the License. You may obtain a copy of +the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +License for the specific language governing permissions and limitations +under the License. +--> + +<screens xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:noNamespaceSchemaLocation="http://www.ofbiz.org/dtds/widget-screen.xsd"> + + <screen name="LookupPerson"> + <section> + <condition> + <or> + <if-has-permission permission="PARTYMGR" action="_VIEW"/> + </or> + </condition> + <actions> + <property-map resource="PartyUiLabels" map-name="uiLabelMap" global="true"/> + + <set field="title" value="${uiLabelMap.PartyLookupPartyPerson}"/> + <set field="entityName" value="Person"/> + <set field="queryString" from-field="result.queryString"/> + <set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer"/> + <set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="20"/> + </actions> + <widgets> + <decorator-screen name="LookupDecorator" location="component://common/widget/CommonScreens.xml"> + <decorator-section name="body"> + <include-form name="lookupPerson" location="component://assetmaint/widget/forms/LookupForms.xml"/> + <include-form name="listLookupPerson" location="component://party/webapp/partymgr/lookup/LookupForms.xml"/> + </decorator-section> + </decorator-screen> + </widgets> + </section> + </screen> +</screens> + \ No newline at end of file Propchange: ofbiz/trunk/specialpurpose/assetmaint/widget/LookupScreens.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/assetmaint/widget/LookupScreens.xml ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/trunk/specialpurpose/assetmaint/widget/LookupScreens.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Added: ofbiz/trunk/specialpurpose/assetmaint/widget/Menus.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/assetmaint/widget/Menus.xml?view=auto&rev=498895 ============================================================================== --- ofbiz/trunk/specialpurpose/assetmaint/widget/Menus.xml (added) +++ ofbiz/trunk/specialpurpose/assetmaint/widget/Menus.xml Mon Jan 22 18:27:12 2007 @@ -0,0 +1,89 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- +Licensed under the Apache License, Version 2.0 (the "License"); you may not +use this file except in compliance with the License. You may obtain a copy of +the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +License for the specific language governing permissions and limitations +under the License. +--> + +<menus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:noNamespaceSchemaLocation="http://www.ofbiz.org/dtds/widget-menu.xsd"> + + <menu name="FixedAssetTabBar" default-menu-item-name="EditFixedAsset" default-selected-style="tabButtonSelected" + default-title-style="tabButton" default-tooltip-style="tabletext" default-widget-style="tabButton" + orientation="horizontal" type="simple"> + <menu-item name="EditFixedAsset" title="${uiLabelMap.AccountingFixedAsset}"> + <link target="EditFixedAsset?fixedAssetId=${fixedAssetId}"/> + </menu-item> + <menu-item name="FixedAssetChildren" title="${uiLabelMap.AccountingFixedAssetChildren}"> + <link target="FixedAssetChildren?fixedAssetId=${fixedAssetId}&trail=${fixedAssetId}"/> + </menu-item> + <menu-item name="ListFixedAssetCalendar" title="${uiLabelMap.AccountingFixedAssetCalendar}"> + <link target="ListFixedAssetCalendar?fixedAssetId=${fixedAssetId}"/> + </menu-item> + <menu-item name="EditFixedAssetStdCosts" title="${uiLabelMap.AccountingFixedAssetStdCosts}"> + <link target="EditFixedAssetStdCosts?fixedAssetId=${fixedAssetId}"/> + </menu-item> + <menu-item name="EditFixedAssetIdents" title="${uiLabelMap.AccountingFixedAssetIdents}"> + <link target="EditFixedAssetIdents?fixedAssetId=${fixedAssetId}"/> + </menu-item> + <menu-item name="EditFixedAssetRegistrations" title="${uiLabelMap.AccountingFixedAssetRegistrations}"> + <link target="EditFixedAssetRegistrations?fixedAssetId=${fixedAssetId}"/> + </menu-item> + <menu-item name="ListFixedAssetMaints" title="${uiLabelMap.AccountingFixedAssetMaints}"> + <link target="ListFixedAssetMaints?fixedAssetId=${fixedAssetId}"/> + </menu-item> + </menu> + + <menu name="FixedAssetMaintTabBar" default-menu-item-name="EditFixedAssetMaint"> + <menu-item name="EditFixedAssetMaint" title="${uiLabelMap.AccountingFixedAssetMaint}"> + <link target="EditFixedAssetMaint?fixedAssetId=${fixedAssetMaint.fixedAssetId}&maintHistSeqId=${fixedAssetMaint.maintHistSeqId}"/> + </menu-item> + <menu-item name="EditFixedAssetMeter" title="${uiLabelMap.AccountingFixedAssetMaintMeters}"> + <link target="EditFixedAssetMaintMeters?fixedAssetId=${fixedAssetMaint.fixedAssetId}&maintHistSeqId=${fixedAssetMaint.maintHistSeqId}"/> + </menu-item> + <menu-item name="EditWorkEfforts" title="${uiLabelMap.WorkEffortAllTasks}"> + <link target="EditWorkEfforts?fixedAssetId=${fixedAssetMaint.fixedAssetId}&maintHistSeqId=${fixedAssetMaint.maintHistSeqId}&workEffortId=${fixedAssetMaint.scheduleWorkEffortId}"/> + </menu-item> + <menu-item name="EditWorkEffortTimeEntries" title="${uiLabelMap.TimesheetTimeEntries}"> + <link target="EditWorkEffortTimeEntries?fixedAssetId=${fixedAssetMaint.fixedAssetId}&maintHistSeqId=${fixedAssetMaint.maintHistSeqId}&workEffortId=${fixedAssetMaint.scheduleWorkEffortId}"/> + </menu-item> + <menu-item name="EditWorkEffortNotes" title="${uiLabelMap.WorkEffortNotes}"> + <link target="EditWorkEffortNotes?fixedAssetId=${fixedAssetMaint.fixedAssetId}&maintHistSeqId=${fixedAssetMaint.maintHistSeqId}&workEffortId=${fixedAssetMaint.scheduleWorkEffortId}"/> + </menu-item> + <menu-item name="EditItemIssuences" title="${uiLabelMap.FixedAssetMaintItemIssuence}"> + <link target="EditItemIssuences?fixedAssetId=${fixedAssetMaint.fixedAssetId}&maintHistSeqId=${fixedAssetMaint.maintHistSeqId}"/> + </menu-item> + </menu> + + <menu name="FacilityTabBar" default-menu-item-name="ViewFacilityInventoryByProduct"> + <menu-item name="EditFacility" title="${uiLabelMap.ProductFacility}"> + <link target="EditFacility?facilityId=${facilityId}"/> + </menu-item> + <menu-item name="ViewContactMechs" title="${uiLabelMap.PartyContactMechs}"> + <link target="ViewContactMechs?facilityId=${facilityId}"/> + </menu-item> + <menu-item name="FindFacilityLocation" title="${uiLabelMap.ProductLocations}"> + <link target="FindFacilityLocation?facilityId=${facilityId}"/> + </menu-item> + <menu-item name="ViewFacilityInventoryByProduct" title="${uiLabelMap.ProductInventory}"> + <link target="ViewFacilityInventoryByProduct?facilityId=${facilityId}"/> + </menu-item> + <menu-item name="ReceiveInventory" title="${uiLabelMap.ProductInventoryReceive}"> + <link target="ReceiveInventory?facilityId=${facilityId}"/> + </menu-item> + <menu-item name="FindFacilityTransfers" title="${uiLabelMap.ProductInventoryXfers}"> + <link target="FindFacilityTransfers?facilityId=${facilityId}"/> + </menu-item> + </menu> + +</menus> + + \ No newline at end of file Propchange: ofbiz/trunk/specialpurpose/assetmaint/widget/Menus.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/assetmaint/widget/Menus.xml ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/trunk/specialpurpose/assetmaint/widget/Menus.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Added: ofbiz/trunk/specialpurpose/assetmaint/widget/ProductScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/assetmaint/widget/ProductScreens.xml?view=auto&rev=498895 ============================================================================== --- ofbiz/trunk/specialpurpose/assetmaint/widget/ProductScreens.xml (added) +++ ofbiz/trunk/specialpurpose/assetmaint/widget/ProductScreens.xml Mon Jan 22 18:27:12 2007 @@ -0,0 +1,45 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- +Licensed under the Apache License, Version 2.0 (the "License"); you may not +use this file except in compliance with the License. You may obtain a copy of +the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +License for the specific language governing permissions and limitations +under the License. +--> + +<screens xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:noNamespaceSchemaLocation="http://www.ofbiz.org/dtds/widget-screen.xsd"> + + <screen name="LookupPartsProduct"> + <section> + <condition> + <or> + <if-has-permission permission="OFBTOOLS" action="_VIEW"/> + </or> + </condition> + <actions> + <property-map resource="ProductUiLabels" map-name="uiLabelMap" global="true"/> + <set field="title" value="${uiLabelMap.PageTitleLookupProduct}"/> + <set field="queryString" from-field="result.queryString"/> + <set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer"/> + <set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="20"/> + <set field="primaryProductCategoryId" value="PARTS"/> + <set field="submitTarget" value="LookupPartsProduct"/> + </actions> + <widgets> + <decorator-screen name="LookupDecorator" location="component://common/widget/CommonScreens.xml"> + <decorator-section name="body"> + <include-form name="lookupProduct" location="component://assetmaint/widget/forms/ProductForms.xml" /> + <include-form name="listLookupProduct" location="component://assetmaint/widget/forms/ProductForms.xml" /> + </decorator-section> + </decorator-screen> + </widgets> + </section> + </screen> +</screens> \ No newline at end of file Propchange: ofbiz/trunk/specialpurpose/assetmaint/widget/ProductScreens.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/specialpurpose/assetmaint/widget/ProductScreens.xml ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/trunk/specialpurpose/assetmaint/widget/ProductScreens.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Add |
Free forum by Nabble | Edit this page |