[ \t]+$ => "" (empty) Should be easier to review when committing changes with trailing spaces removed automatically by anyedit or such tool (please refer to http://docs.ofbiz.org/x/mg) Of course this effort to remove trailing spaces has no functional implications. Actually, I was doing a 1st commit and as it's long to upload, I got conflicts with r763135 In the meantime I did some refactoring also in *.java and *.groovy files : ){ => ) { if( => if ( while( => while ( }else => } else else{ => else { switch( => switch ( try{ => try { }catch => } catch catch( => catch ( }finally{ => } finally { So these changes are also in this commit, should not be a problem anyway. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763175 13f79535-47bb-0310-9956-ffa450edef68
348 lines
16 KiB
XML
348 lines
16 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
Licensed to the Apache Software Foundation (ASF) under one
|
|
or more contributor license agreements. See the NOTICE file
|
|
distributed with this work for additional information
|
|
regarding copyright ownership. The ASF licenses this file
|
|
to you 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://ofbiz.apache.org/dtds/widget-screen.xsd">
|
|
<screen name="CommonOrderViewDecorator">
|
|
<section>
|
|
<widgets>
|
|
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<section>
|
|
<widgets>
|
|
<decorator-section-include name="body"/>
|
|
</widgets>
|
|
</section>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="OrderHeaderView">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="OrderViewOrder"/>
|
|
<set field="headerItem" value="findorders"/>
|
|
<script location="component://order/webapp/ordermgr/WEB-INF/actions/order/OrderView.groovy"/>
|
|
<script location="component://order/webapp/ordermgr/WEB-INF/actions/order/OrderViewWebSecure.groovy"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonOrderViewDecorator">
|
|
<decorator-section name="body">
|
|
<include-screen name="orderHeader"/>
|
|
<container style="clear"/>
|
|
<platform-specific>
|
|
<html><html-template location="component://order/webapp/ordermgr/order/orderitems.ftl"/></html>
|
|
</platform-specific>
|
|
<platform-specific>
|
|
<html><html-template location="component://order/webapp/ordermgr/order/ordernotes.ftl"/></html>
|
|
</platform-specific>
|
|
<platform-specific>
|
|
<html><html-template location="component://order/webapp/ordermgr/order/transitions.ftl"/></html>
|
|
</platform-specific>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="orderHeader">
|
|
<section>
|
|
<condition>
|
|
<not><if-empty field="orderHeader"/></not>
|
|
</condition>
|
|
<widgets>
|
|
<container style="lefthalf">
|
|
<include-screen name="orderinfo"/>
|
|
<include-screen name="orderterms"/>
|
|
<include-screen name="orderpaymentinfo"/>
|
|
<include-screen name="projectAssoOrder"/>
|
|
</container>
|
|
<container style="righthalf">
|
|
<include-screen name="ordercontactinfo"/>
|
|
<include-screen name="ordershippinginfo"/>
|
|
</container>
|
|
</widgets>
|
|
<fail-widgets>
|
|
<label style="h2" text="${uiLabelMap.OrderNoOrderFound}: [${orderId}]"></label>
|
|
</fail-widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="orderinfo">
|
|
<section>
|
|
<widgets>
|
|
<platform-specific>
|
|
<html><html-template location="component://order/webapp/ordermgr/order/orderinfo.ftl"/></html>
|
|
</platform-specific>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="orderterms">
|
|
<section>
|
|
<widgets>
|
|
<platform-specific>
|
|
<html><html-template location="component://order/webapp/ordermgr/order/orderterms.ftl"/></html>
|
|
</platform-specific>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="orderpaymentinfo">
|
|
<section>
|
|
<widgets>
|
|
<platform-specific>
|
|
<html><html-template location="component://order/webapp/ordermgr/order/orderpaymentinfo.ftl"/></html>
|
|
</platform-specific>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="projectAssoOrder">
|
|
<section>
|
|
<condition>
|
|
<if-has-permission permission="PROJECTMGR" action="_VIEW"/>
|
|
</condition>
|
|
<actions>
|
|
<set field="orderId" from-field="parameters.orderId"/>
|
|
<entity-and entity-name="OrderHeaderAndWorkEffort" list="listProjectAssoOrder">
|
|
<field-map field-name="orderId" from-field="orderId"/>
|
|
<field-map field-name="workEffortTypeId" value="PROJECT"/>
|
|
</entity-and>
|
|
</actions>
|
|
<widgets>
|
|
<section>
|
|
<condition>
|
|
<not>
|
|
<if-empty field="listProjectAssoOrder"/>
|
|
</not>
|
|
</condition>
|
|
<widgets>
|
|
<screenlet title="${uiLabelMap.PageTitleProjectInformation}">
|
|
<include-form name="projectAssoOrder" location="component://projectmgr/widget/forms/ProjectForms.xml"/>
|
|
</screenlet>
|
|
</widgets>
|
|
<fail-widgets></fail-widgets>
|
|
</section>
|
|
</widgets>
|
|
<fail-widgets></fail-widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="ordercontactinfo">
|
|
<section>
|
|
<widgets>
|
|
<platform-specific>
|
|
<html><html-template location="component://order/webapp/ordermgr/order/ordercontactinfo.ftl"/></html>
|
|
</platform-specific>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="ordershippinginfo">
|
|
<section>
|
|
<widgets>
|
|
<platform-specific>
|
|
<html><html-template location="component://order/webapp/ordermgr/order/ordershippinginfo.ftl"/></html>
|
|
</platform-specific>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="OrderHeaderListView">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="OrderLookupOrder"/>
|
|
<set field="headerItem" value="orderlist"/>
|
|
<script location="component://order/webapp/ordermgr/WEB-INF/actions/order/OrderList.groovy"/>
|
|
<script location="component://order/webapp/ordermgr/WEB-INF/actions/order/FilterOrderList.groovy"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonOrderViewDecorator">
|
|
<decorator-section name="body">
|
|
<platform-specific>
|
|
<html><html-template location="component://order/webapp/ordermgr/order/orderlist.ftl"/></html>
|
|
</platform-specific>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="OrderItemEdit">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="OrderEditItems"/>
|
|
<set field="headerItem" value="orderlist"/>
|
|
<script location="component://order/webapp/ordermgr/WEB-INF/actions/order/OrderView.groovy"/>
|
|
<script location="component://order/webapp/ordermgr/WEB-INF/actions/order/OrderViewWebSecure.groovy"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonOrderViewDecorator">
|
|
<decorator-section name="body">
|
|
<include-screen name="orderHeader"/>
|
|
<container style="clear"/>
|
|
<platform-specific>
|
|
<html><html-template location="component://order/webapp/ordermgr/order/editorderitems.ftl"/></html>
|
|
</platform-specific>
|
|
<platform-specific>
|
|
<html><html-template location="component://order/webapp/ordermgr/order/appendorderitem.ftl"/></html>
|
|
</platform-specific>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="OrderFindOrder">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="OrderFindOrder"/>
|
|
<set field="headerItem" value="findorders"/>
|
|
<script location="component://order/webapp/ordermgr/WEB-INF/actions/order/FindOrders.groovy"/>
|
|
<script location="component://content/webapp/content/WEB-INF/actions/print/FindPrinters.groovy"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonOrderViewDecorator">
|
|
<decorator-section name="body">
|
|
<platform-specific>
|
|
<html><html-template location="component://order/webapp/ordermgr/order/findOrders.ftl"/></html>
|
|
</platform-specific>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="OrderNewNote">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="OrderAddNote"/>
|
|
<set field="headerItem" value="findorders"/>
|
|
<script location="component://order/webapp/ordermgr/WEB-INF/actions/order/NewNote.groovy"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonOrderViewDecorator">
|
|
<decorator-section name="body">
|
|
<platform-specific>
|
|
<html><html-template location="component://order/webapp/ordermgr/order/newnote.ftl"/></html>
|
|
</platform-specific>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="OrderDeliveryScheduleInfo">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="OrderViewEditDeliveryScheduleInfo"/>
|
|
<set field="headerItem" value="findorders"/>
|
|
<property-map resource="OrderUiLabels" map-name="uiLabelMap" global="true"/>
|
|
<property-map resource="AccountingUiLabels" map-name="uiLabelMap" global="true"/>
|
|
<property-map resource="ProductUiLabels" map-name="uiLabelMap" global="true"/>
|
|
<property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/>
|
|
<script location="component://order/webapp/ordermgr/WEB-INF/actions/order/OrderDeliveryScheduleInfo.groovy"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonOrderViewDecorator">
|
|
<decorator-section name="body">
|
|
<platform-specific>
|
|
<html><html-template location="component://order/webapp/ordermgr/order/OrderDeliveryScheduleInfo.ftl"/></html>
|
|
</platform-specific>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="OrderStats">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="OrderOrderStatisticsPage"/>
|
|
<set field="headerItem" value="stats"/>
|
|
<script location="component://order/webapp/ordermgr/WEB-INF/actions/order/OrderStats.groovy"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonOrderViewDecorator">
|
|
<decorator-section name="body">
|
|
<platform-specific>
|
|
<html><html-template location="component://order/webapp/ordermgr/order/orderstats.ftl"/></html>
|
|
</platform-specific>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="OrderReceivePayment">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="OrderReceiveOfflinePayments"/>
|
|
<set field="headerItem" value="findorders"/>
|
|
<script location="component://order/webapp/ordermgr/WEB-INF/actions/order/ReceivePayment.groovy"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonOrderViewDecorator">
|
|
<decorator-section name="body">
|
|
<platform-specific>
|
|
<html><html-template location="component://order/webapp/ordermgr/order/receivepayment.ftl"/></html>
|
|
</platform-specific>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="ViewImage">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="OrderViewImage"/>
|
|
<script location="component://order/webapp/ordermgr/WEB-INF/actions/order/ViewImage.groovy"/>
|
|
</actions>
|
|
<widgets>
|
|
<platform-specific><html><html-template location="component://order/webapp/ordermgr/order/viewimage.ftl"/></html></platform-specific>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="SendOrderConfirmation">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="OrderSendConfirmationEmail"/>
|
|
<set field="headerItem" value="findorders"/>
|
|
<script location="component://order/webapp/ordermgr/WEB-INF/actions/order/SendConfirmationEmail.groovy"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonOrderViewDecorator">
|
|
<decorator-section name="body">
|
|
<platform-specific>
|
|
<html><html-template location="component://order/webapp/ordermgr/order/sendconfirmationemail.ftl"/></html>
|
|
</platform-specific>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="ListOrderTerms">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="OrderOrderTerms"/>
|
|
<set field="headerItem" value="findorders"/>
|
|
<entity-and entity-name="OrderTerm" list="orderTerms">
|
|
<field-map field-name="orderId" from-field="parameters.orderId"/>
|
|
</entity-and>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonOrderViewDecorator">
|
|
<decorator-section name="body">
|
|
<screenlet id="AddOrderTermPanel" title="${uiLabelMap.CommonAdd} ${uiLabelMap.OrderOrderTerms}" collapsible="true">
|
|
<include-form name="AddOrderTerm" location="component://order/webapp/ordermgr/order/OrderForms.xml"/>
|
|
</screenlet>
|
|
<include-form name="ListOrderTerms" location="component://order/webapp/ordermgr/order/OrderForms.xml"/>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
</screens> |