You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jo...@apache.org on 2007/01/23 03:27:15 UTC
svn commit: r498895 [2/3] - in /ofbiz/trunk/specialpurpose: ./ assetmaint/
assetmaint/config/ assetmaint/entitydef/ assetmaint/script/
assetmaint/script/org/ assetmaint/script/org/ofbiz/
assetmaint/script/org/ofbiz/assetmaint/ assetmaint/webapp/ assetm...
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="<@o...@ofbizUrl>" title="${uiLabelMap.AccountingFixedAssets}" class="${class.link}"><img src="<@o...@ofbizContentUrl>" alt="" width="10" height="15" border="0"></a></td>
+ <td nowrap="nowrap" class="${class.center}"><a href="<@o...@ofbizUrl>" class="${class.link}">${uiLabelMap.AccountingFixedAssets}</a></td>
+ <td class="${class.right}"><a href="<@o...@ofbizUrl>" title="${uiLabelMap.AccountingFixedAssets}" class="${class.link}"><img src="<@o...@ofbizContentUrl>" alt="" width="10" height="15" border="0"></a></td>
+ </tr>
+ <#if appbarItem?if_exists != "fixedAssets">
+ <tr><td colspan="3" class="blackarea"><img src="<@o...@ofbizContentUrl>" alt="" height="1"></td></tr>
+ <tr><td colspan="3" class="whitearea"><img src="<@o...@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="<@o...@ofbizUrl>" title="${uiLabelMap.AccountingFixedAssetMaints}" class="${class.link}"><img src="<@o...@ofbizContentUrl>" alt="" width="10" height="15" border="0"></a></td>
+ <td nowrap="nowrap" class="${class.center}"><a href="<@o...@ofbizUrl>" class="${class.link}">${uiLabelMap.AccountingFixedAssetMaints}</a></td>
+ <td class="${class.right}"><a href="<@o...@ofbizUrl>" title="${uiLabelMap.AccountingFixedAssetMaints}" class="${class.link}"><img src="<@o...@ofbizContentUrl>" alt="" width="10" height="15" border="0"></a></td>
+ </tr>
+ <#if appbarItem?if_exists != "fixedAssetMaints">
+ <tr><td colspan="3" class="blackarea"><img src="<@o...@ofbizContentUrl>" alt="" height="1"></td></tr>
+ <tr><td colspan="3" class="whitearea"><img src="<@o...@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="<@o...@ofbizUrl>" title="${uiLabelMap.ProductWarehouse}" class="${class.link}"><img src="<@o...@ofbizContentUrl>" alt="" width="10" height="15" border="0"></a></td>
+ <td nowrap="nowrap" class="${class.center}"><a href="<@o...@ofbizUrl>" class="${class.link}">${uiLabelMap.ProductWarehouse}</a></td>
+ <td class="${class.right}"><a href="<@o...@ofbizUrl>" title="${uiLabelMap.ProductWarehouse}" class="${class.link}"><img src="<@o...@ofbizContentUrl>" alt="" width="10" height="15" border="0"></a></td>
+ </tr>
+ <#if appbarItem?if_exists != "facility">
+ <tr><td colspan="3" class="blackarea"><img src="<@o...@ofbizContentUrl>" alt="" height="1"></td></tr>
+ <tr><td colspan="3" class="whitearea"><img src="<@o...@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="<@o...@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
Added: ofbiz/trunk/specialpurpose/assetmaint/widget/forms/FacilityForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/assetmaint/widget/forms/FacilityForms.xml?view=auto&rev=498895
==============================================================================
--- ofbiz/trunk/specialpurpose/assetmaint/widget/forms/FacilityForms.xml (added)
+++ ofbiz/trunk/specialpurpose/assetmaint/widget/forms/FacilityForms.xml Mon Jan 22 18:27:12 2007
@@ -0,0 +1,28 @@
+<?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.
+-->
+
+<forms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:noNamespaceSchemaLocation="http://www.ofbiz.org/dtds/widget-form.xsd">
+
+ <form name="ListFacilities" type="list" list-name="facilities"
+ default-title-style="tableheadtext" default-tooltip-style="tabletext" default-widget-style="tabletext"
+ default-title-area-style="viewOneTR1" even-row-style="viewManyTR2" odd-row-style="viewManyTR1">
+ <field name="facilityId" title="ID" widget-style="buttontext">
+ <hyperlink also-hidden="false" description="${facilityId}" target="EditFacility?facilityId=${facilityId}"/>
+ </field>
+ <field name="facilityName" title="Name"><display/></field>
+ <field name="description" title="Description"><display/></field>
+ </form>
+</forms>
Propchange: ofbiz/trunk/specialpurpose/assetmaint/widget/forms/FacilityForms.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: ofbiz/trunk/specialpurpose/assetmaint/widget/forms/FacilityForms.xml
------------------------------------------------------------------------------
svn:keywords = "Date Rev Author URL Id"
Propchange: ofbiz/trunk/specialpurpose/assetmaint/widget/forms/FacilityForms.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: ofbiz/trunk/specialpurpose/assetmaint/widget/forms/FixedAssetForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/assetmaint/widget/forms/FixedAssetForms.xml?view=auto&rev=498895
==============================================================================
--- ofbiz/trunk/specialpurpose/assetmaint/widget/forms/FixedAssetForms.xml (added)
+++ ofbiz/trunk/specialpurpose/assetmaint/widget/forms/FixedAssetForms.xml Mon Jan 22 18:27:12 2007
@@ -0,0 +1,229 @@
+<?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.
+-->
+
+<forms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:noNamespaceSchemaLocation="http://www.ofbiz.org/dtds/widget-form.xsd">
+ <form name="FindFixedAssets" type="single"
+ target="findFixedAssets" title="${uiLabelMap.AccountingFindFixedAssets}"
+ default-title-style="tableheadtext" default-widget-style="inputBox" default-tooltip-style="tabletext">
+ <field name="hideSearch"><hidden value="Y"/></field>
+ <field name="fixedAssetId" title="${uiLabelMap.AccountingFixedAssetId}"><text-find default-option="contains" ignore-case="true"/></field>
+ <field name="instanceOfProductId" title="${uiLabelMap.AccountingInstanceOfProductId}"><text-find default-option="contains" ignore-case="true"/></field>
+ <field name="classEnumId" title="${uiLabelMap.AccountingFixedAssetClassEnumId}" widget-style="selectBox">
+ <drop-down allow-empty="true">
+ <entity-options description="${description}" entity-name="Enumeration" key-field-name="enumId">
+ <entity-constraint name="enumTypeId" operator="equals" value="FXAST_CLASS"/>
+ <entity-order-by field-name="description"/>
+ </entity-options>
+ </drop-down>
+ </field>
+ <field name="noConditionFind"><hidden value="Y"/><!-- if this isn't there then with all fields empty no query will be done --></field>
+ <field name="submitButton" title="${uiLabelMap.CommonFind}" widget-style="smallSubmit"><submit button-type="button"/></field>
+ </form>
+
+ <!-- list all assets in a tabular format -->
+ <form name="ListFixedAssets" type="list" list-name="listIt" paginate-target="findFixedAsset"
+ default-title-style="tableheadtext" default-tooltip-style="tabletext" default-widget-style="tabletext"
+ default-title-area-style="viewOneTR1" even-row-style="viewManyTR2" odd-row-style="viewManyTR1">
+ <actions>
+ <service service-name="performFind" result-map-name="result" result-map-list-name="listIt">
+ <field-map field-name="inputFields" env-name="parameters"/>
+ <field-map field-name="entityName" value="FixedAsset"/>
+ <field-map field-name="orderBy" value="fixedAssetId"/>
+ </service>
+ </actions>
+ <field name="fixedAssetId" title="${uiLabelMap.AccountingFixedAssetId}" widget-style="linktext">
+ <hyperlink also-hidden="false" description="${fixedAssetId}" target="EditFixedAsset?fixedAssetId=${fixedAssetId}"/>
+ </field>
+ <field name="partyId" title="${uiLabelMap.FormFieldTitle_manufacturerPartyId}">
+ <display/>
+ </field>
+ <field title="${uiLabelMap.AccountingInstanceOfProductId}" name="instanceOfProductId">
+ <display/>
+ </field>
+ <field name="classEnumId" title="${uiLabelMap.AccountingFixedAssetClassEnumId}">
+ <display-entity entity-name="Enumeration" description="${description}" key-field-name="enumId" />
+ </field>
+ <field name="fixedAssetName" title="${uiLabelMap.AccountingFixedAssetName}"><display/></field>
+ <field name="serialNumber"><display/></field>
+ <!--field name="fixedAssetTypeId" title="${uiLabelMap.AccountingFixedAssetTypeId}"><display-entity entity-name="FixedAssetType"/></field>
+ <field name="parentFixedAssetId" title="${uiLabelMap.AccountingFixedAssetParent}">
+ <display-entity entity-name="FixedAsset" key-field-name="fixedAssetId" description="${fixedAssetName}">
+ <sub-hyperlink target="editFixedAsset?fixedAssetId=${parentFixedAssetId}" description="${parentFixedAssetId}" link-style="buttontext"/>
+ </display-entity>
+ </field-->
+ </form>
+
+ <!-- create and update a Equipment -->
+ <form name="EditFixedAsset" type="single"
+ target="updateFixedAsset" title="${uiLabelMap.AccountingFixedAsset}" default-map-name="fixedAsset"
+ default-title-style="tableheadtext" default-widget-style="inputBox" default-tooltip-style="tabletext">
+ <alt-target use-when="fixedAsset==null" target="createFixedAsset"/>
+ <auto-fields-service service-name="updateFixedAsset" map-name="fixedAsset"/>
+
+ <field use-when="fixedAsset!=null" name="fixedAssetId" title="${uiLabelMap.AccountingFixedAssetId}" tooltip="${uiLabelMap.CommonNotModifRecreat}" widget-style="tabletext"><display/></field>
+ <field use-when="fixedAsset==null&&fixedAssetId==null" name="fixedAssetId" title="${uiLabelMap.AccountingFixedAssetId}"><text size="20" maxlength="20"/></field>
+ <field use-when="fixedAsset==null&&fixedAssetId!=null" name="fixedAssetId" title="${uiLabelMap.AccountingFixedAssetId}" tooltip="${uiLabelMap.CommonCannotBeFound}:[${fixedAssetId}]"><text size="20" maxlength="20"/></field>
+
+ <field name="fixedAssetTypeId" title="${uiLabelMap.AccountingFixedAssetTypeId}" widget-style="selectBox">
+ <drop-down allow-empty="false">
+ <entity-options entity-name="FixedAssetType" description="${description}">
+ <entity-order-by field-name="description"/>
+ </entity-options>
+ </drop-down>
+ </field>
+ <field name="parentFixedAssetId" title="${uiLabelMap.AccountingFixedAssetParent}"><lookup target-form-name="LookupFixedAsset"/></field>
+ <field name="instanceOfProductId" title="${uiLabelMap.AccountingInstanceOfProductId}"><lookup target-form-name="LookupProduct"/></field>
+ <field name="classEnumId" title="${uiLabelMap.AccountingFixedAssetClassEnumId}" widget-style="selectBox">
+ <drop-down allow-empty="true">
+ <entity-options description="${description}" entity-name="Enumeration" key-field-name="enumId">
+ <entity-constraint name="enumTypeId" operator="equals" value="FXAST_CLASS"/>
+ <entity-order-by field-name="description"/>
+ </entity-options>
+ </drop-down>
+ </field>
+ <field name="partyId" title="${uiLabelMap.FormFieldTitle_manufacturerPartyId}"><lookup target-form-name="LookupPartyGroup"/></field>
+ <field name="fixedAssetName" title="${uiLabelMap.AccountingFixedAssetName}"><text size="30" maxlength="30"/></field>
+ <field name="roleTypeId"><hidden/></field>
+ <field name="uomId"><hidden/></field>
+ <field name="calendarId"><hidden/></field>
+ <field name="productionCapacity"><hidden/></field>
+ <field name="locatedAtFacilityId" title="${uiLabelMap.AccountingFacilityId}"><lookup target-form-name="LookupFacility"/></field>
+ <field name="locatedAtLocationSeqId" title=""><hidden/></field>
+ <field name="submitButton" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field>
+ </form>
+
+ <form name="FindFixedAssetMaint" default-map-name="timesheet" target="findFixedAssetMaints" title="" type="single"
+ default-title-style="tableheadtext" default-tooltip-style="tabletext" default-widget-style="inputBox">
+ <field name="fixedAssetId"><text-find default-option="contains" ignore-case="true"/></field>
+ <field name="maintHistSeqId"><text-find default-option="contains" ignore-case="true"/></field>
+ <field name="statusId"><text-find default-option="contains" ignore-case="true"/></field>
+ <field name="actualStartDate"><date-find/></field>
+
+ <field name="noConditionFind"><hidden value="Y"/><!-- if this isn't there then with all fields empty no query will be done --></field>
+ <field name="submitButton" title="${uiLabelMap.CommonFind}" widget-style="smallSubmit"><submit button-type="button"/></field>
+ </form>
+ <form name="ListFixedAssetMaints" target="" title="" type="list" list-name="listIt" paginate-target="findFixedAssetMaints" paginate="true"
+ default-title-style="tableheadtext" default-tooltip-style="tabletext" default-widget-style="tabletext"
+ default-title-area-style="viewOneTR1" even-row-style="viewManyTR2" odd-row-style="viewManyTR1">
+ <actions>
+ <service service-name="performFind" result-map-name="result" result-map-list-name="listIt">
+ <field-map field-name="inputFields" env-name="parameters"/>
+ <field-map field-name="entityName" value="FixedAssetMaintWorkEffort"/>
+ <field-map field-name="orderBy" value="-actualStartDate"/>
+ </service>
+ </actions>
+ <field title="${uiLabelMap.AccountingFixedAssetId}" name="fixedAssetId"><display/></field>
+ <field name="maintHistSeqId"><hidden/></field>
+ <field name="maintHistSeqIdLink" title="${uiLabelMap.AccountingFixedAssetMaintSeqId}" widget-style="linktext">
+ <hyperlink also-hidden="false" description="${maintHistSeqId}" target="EditFixedAssetMaint?fixedAssetId=${fixedAssetId}&maintHistSeqId=${maintHistSeqId}"/>
+ </field>
+ <field name="statusId" title="${uiLabelMap.CommonStatus}"><display-entity entity-name="StatusItem"/></field>
+ <field name="productMaintTypeId" ><display-entity entity-name="ProductMaintType"/></field>
+ <field name="intervalQuantity" title="${uiLabelMap.AccountingFixedAssetMaintIntervalQuantity}"><display/></field>
+ <field name="actualStartDate" title="${uiLabelMap.WorkEffortActualStartDate}"><display/></field>
+ <field name="actualCompletionDate" title="${uiLabelMap.WorkEffortActualCompletionDate}"><display/></field>
+ <field name="intervalUomId" title="${uiLabelMap.AccountingFixedAssetMaintIntervalUom}"><display/></field>
+ <field name="intervalMeterTypeId" title="${uiLabelMap.AccountingFixedAssetMaintIntervalMeterType}"><display/></field>
+ </form>
+
+ <form name="EditFixedAssetMaint" type="single" default-map-name="fixedAssetMaint"
+ target="updateFixedAssetMaintAndWorkEffort" title="Edit WorkOrder"
+ default-title-style="tableheadtext" default-widget-style="inputBox" default-tooltip-style="tabletext">
+ <alt-target use-when="fixedAssetMaint==null" target="createFixedAssetMaintUpdateWorkEffort"/>
+ <field name="fixedAssetId" use-when="fixedAssetMaint==null" title="${uiLabelMap.AccountingFixedAssetId}"><lookup target-form-name="LookupFixedAsset"/></field>
+ <field name="dummy" use-when="fixedAssetMaint !=null" title="${uiLabelMap.AccountingFixedAssetId}" widget-style="buttontext">
+ <hyperlink also-hidden="false" description="${fixedAssetMaint.fixedAssetId}" target="editFixedAsset?fixedAssetId=${fixedAssetMaint.fixedAssetId}"/>
+ </field>
+ <field use-when="fixedAssetMaint!=null" title="${uiLabelMap.AccountingFixedAssetMaintSeqId}" name="fixedAssetId"><hidden/></field>
+ <field use-when="fixedAssetMaint==null" title="${uiLabelMap.AccountingFixedAssetMaintSeqId}" name="maintHistSeqId"><ignored/></field>
+ <field use-when="fixedAssetMaint!=null" title="${uiLabelMap.AccountingFixedAssetMaintSeqId}" name="maintHistSeqId"><display/></field>
+ <field use-when="fixedAssetMaint!=null" title="Created On " name="createdStamp"><display/></field>
+ <field name="statusId" title="${uiLabelMap.CommonStatus}" position="1">
+ <drop-down allow-empty="false">
+ <entity-options description="${description}" entity-name="StatusItem">
+ <entity-constraint name="statusTypeId" operator="equals" value="FIXEDAST_MNT_STATUS"/>
+ <entity-order-by field-name="sequenceId"/>
+ </entity-options>
+ </drop-down>
+ </field>
+ <field name="productMaintSeqId" position="1" title="Product Maintenance" tooltip="Only use if applicable, can use Maintenance Type instead">
+ <drop-down allow-empty="true" >
+ <entity-options description="${maintName}" entity-name="ProductMaint">
+ <entity-constraint name="productId" operator="equals" value="${fixedAsset.instanceOfProductId}"/>
+ <entity-order-by field-name="productMaintSeqId"/>
+ </entity-options>
+ </drop-down>
+ </field>
+ <field name="productMaintTypeId" title="${uiLabelMap.AccountingFixedAssetMaintType}" tooltip="If the Product Maintenance is specified, this will be set/reset automatically">
+ <drop-down>
+ <entity-options description="${productMaintTypeId}-${description}" entity-name="ProductMaintType">
+ <entity-order-by field-name="productMaintTypeId"/>
+ </entity-options>
+ </drop-down>
+ </field>
+ <field name="intervalQuantity" required-field="true" position="1" title="${uiLabelMap.AccountingFixedAssetMaintIntervalQuantity}"><text size="10"/></field>
+ <field name="intervalMeterTypeId" position="1" title="${uiLabelMap.AccountingFixedAssetMaintIntervalMeterType}">
+ <drop-down allow-empty="true">
+ <entity-options description="${description}" entity-name="ProductMeterType" key-field-name="productMeterTypeId">
+ <entity-order-by field-name="productMeterTypeId"/>
+ </entity-options>
+ </drop-down>
+ </field>
+ <field name="intervalUomId" position="2" title="${uiLabelMap.AccountingFixedAssetMaintIntervalUom}">
+ <drop-down allow-empty="true">
+ <entity-options description="Time: ${description}" entity-name="Uom" key-field-name="uomId">
+ <entity-constraint name="uomTypeId" value="TIME_FREQ_MEASURE"/>
+ <entity-order-by field-name="description"/>
+ </entity-options>
+ <entity-options description="Distance: ${description}" entity-name="Uom" key-field-name="uomId">
+ <entity-constraint name="uomTypeId" value="LENGTH_MEASURE"/>
+ <entity-order-by field-name="description"/>
+ </entity-options>
+ </drop-down>
+ </field>
+ <field name="scheduleWorkEffortId"><hidden/></field>
+ <!-- field name="scheduleWorkEffortId" position="1" title="${uiLabelMap.WorkEffortWorkEffort}" widget-style="buttontext">
+ <hyperlink also-hidden="false" description="${fixedAssetMaint.scheduleWorkEffortId}" target="EditWorkEffort?workEffortId=${fixedAssetMaint.scheduleWorkEffortId}"/>
+ </field -->
+ <field map-name="workEffort" title="${uiLabelMap.WorkEffortActualStartDate}" position="1" name="actualStartDate"><date-time/></field>
+ <field map-name="workEffort" title="${uiLabelMap.WorkEffortActualCompletionDate}" position="2" name="actualCompletionDate"><date-time/></field>
+ <field name="quickAssignPartyId" title="${uiLabelMap.PartyPartyId}" use-when="fixedAssetMaint == null" field-name="partyId">
+ <lookup target-form-name="LookupPerson"/>
+ </field>
+ <field name="purchaseOrderId" position="2" ><text/></field>
+ <field name="submitButton" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field>
+ </form>
+
+ <form name="AddItemIssuence" target="issueInventoryItemToFixedAssetMaint" title="PageTitleFixedAssetMaintItemIssuence" default-map-name="newIssuenceTtem" type="single"
+ default-title-style="tableheadtext" default-widget-style="inputBox" default-tooltip-style="tabletext">
+ <field name="productId" title="Part Id*" required-field="true"><lookup target-form-name="LookupPartsProduct"/></field>
+ <field name="quantity" position="1" title="${uiLabelMap.CommonQuantity}*"><text size="10"/></field>
+ <field name="maintHistSeqId"><hidden/></field>
+ <field name="fixedAssetId"><hidden/></field>
+ <field name="facilityId"><hidden value="WebStoreWarehouse" /></field>
+ <field name="submitButton" title="${uiLabelMap.CommonAdd}" widget-style="smallSubmit"><submit button-type="button"/></field>
+ </form>
+
+ <form name="ListItemIssuence" title="PageTitleFixedAssetMaintItemIssuence" type="list" list-name="itemIssuenceList"
+ default-title-style="viewOneTR1" default-tooltip-style="tabletext" default-widget-style="tabletext" header-row-style="boxtop"
+ default-table-style="boxoutside" even-row-style="viewManyTR2" odd-row-style="viewManyTR1" separate-columns="true" >
+ <field name="productId" title="Part Id"><display/></field>
+ <field name="quantity" position="1" title="${uiLabelMap.CommonQuantity}"><display/></field>
+ <field name="productName" position="1" title="${uiLabelMap.CommonName}"><display/></field>
+ <field name="comments" position="1" title="${uiLabelMap.CommonComments}"><display/></field>
+ <field name="description" position="1" title="${uiLabelMap.CommonDescription}"><display/></field>
+ </form>
+</forms>
Propchange: ofbiz/trunk/specialpurpose/assetmaint/widget/forms/FixedAssetForms.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: ofbiz/trunk/specialpurpose/assetmaint/widget/forms/FixedAssetForms.xml
------------------------------------------------------------------------------
svn:keywords = "Date Rev Author URL Id"
Propchange: ofbiz/trunk/specialpurpose/assetmaint/widget/forms/FixedAssetForms.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added: ofbiz/trunk/specialpurpose/assetmaint/widget/forms/LookupForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/assetmaint/widget/forms/LookupForms.xml?view=auto&rev=498895
==============================================================================
--- ofbiz/trunk/specialpurpose/assetmaint/widget/forms/LookupForms.xml (added)
+++ ofbiz/trunk/specialpurpose/assetmaint/widget/forms/LookupForms.xml Mon Jan 22 18:27:12 2007
@@ -0,0 +1,30 @@
+<?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.
+-->
+
+<forms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:noNamespaceSchemaLocation="http://www.ofbiz.org/dtds/widget-form.xsd">
+ <!-- Person Lookup forms -->
+ <form name="lookupPerson" default-title-style="tableheadtext"
+ default-tooltip-style="tabletext" default-widget-style="inputBox"
+ target="LookupPerson" title="" type="single">
+ <!--<auto-fields-entity entity-name="Person" default-field-type="find" />-->
+ <field name="partyId" title="${uiLabelMap.PartyPartyId}"><text-find/></field>
+ <field name="firstName" title="${uiLabelMap.PartyFirstName}"><text-find/></field>
+ <field name="lastName" title="${uiLabelMap.PartyLastName}"><text-find/></field>
+ <field name="noConditionFind"><hidden value="Y"/><!-- if this isn't there then with all fields empty no query will be done --></field>
+ <field name="submitButton" title="${uiLabelMap.CommonLookup}" widget-style="smallSubmit"><submit button-type="button"/></field>
+ </form>
+</forms>
+
\ No newline at end of file
Propchange: ofbiz/trunk/specialpurpose/assetmaint/widget/forms/LookupForms.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: ofbiz/trunk/specialpurpose/assetmaint/widget/forms/LookupForms.xml
------------------------------------------------------------------------------
svn:keywords = "Date Rev Author URL Id"
Propchange: ofbiz/trunk/specialpurpose/assetmaint/widget/forms/LookupForms.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml