[OFBiz] SVN: r5115 - in trunk/applications/order: webapp/ordermgr/WEB-INF webapp/ordermgr/order widget/ordermgr

sichen at svn.ofbiz.org sichen at svn.ofbiz.org
Thu Jun 9 14:47:43 EDT 2005


Author: sichen
Date: 2005-06-09 13:47:26 -0500 (Thu, 09 Jun 2005)
New Revision: 5115

Added:
   trunk/applications/order/webapp/ordermgr/order/orderView.fo.ftl
   trunk/applications/order/widget/ordermgr/OrderPrintForms.xml
Modified:
   trunk/applications/order/webapp/ordermgr/WEB-INF/controller.xml
   trunk/applications/order/webapp/ordermgr/order/orderheader.ftl
   trunk/applications/order/webapp/ordermgr/order/orderitems.ftl
Log:
New feature to print PDF of sales and purchase orders.  Still a problem with using ofbizContentUrl for logo image (hardcoded it for now.)  You can customize this for your own needs

Modified: trunk/applications/order/webapp/ordermgr/WEB-INF/controller.xml
===================================================================
--- trunk/applications/order/webapp/ordermgr/WEB-INF/controller.xml	2005-06-09 07:46:50 UTC (rev 5114)
+++ trunk/applications/order/webapp/ordermgr/WEB-INF/controller.xml	2005-06-09 18:47:26 UTC (rev 5115)
@@ -928,6 +928,12 @@
         <response name="success" type="view" value="LookupVariantProduct"/>
     </request-map>
 
+    <!-- PDFs -->
+    <request-map uri="order.pdf">
+        <security https="true" auth="true"/>
+        <response name="success" type="view" value="OrderPDF"/>
+    </request-map>
+    
     <!-- end of request mappings -->
     
     <!-- View Mappings -->
@@ -1016,5 +1022,9 @@
     <view-map name="LookupProduct" type="screen" page="component://product/widget/catalog/LookupScreens.xml#LookupProduct"/>
     <view-map name="LookupProductFeature" type="screen" page="component://product/widget/catalog/LookupScreens.xml#LookupProductFeature"/>
     <view-map name="LookupVariantProduct" type="screen" page="component://product/widget/catalog/LookupScreens.xml#LookupVariantProduct"/>
+    
+    <!-- PDFs  -->
+    <view-map name="OrderPDF" type="screenfop" page="component://order/widget/ordermgr/OrderPrintForms.xml#OrderPDF" content-type="application/pdf" encoding="none"/>
+    
     <!-- end of view mappings -->
 </site-conf>

Added: trunk/applications/order/webapp/ordermgr/order/orderView.fo.ftl
===================================================================
--- trunk/applications/order/webapp/ordermgr/order/orderView.fo.ftl	2005-06-09 07:46:50 UTC (rev 5114)
+++ trunk/applications/order/webapp/ordermgr/order/orderView.fo.ftl	2005-06-09 18:47:26 UTC (rev 5115)
@@ -0,0 +1,279 @@
+<#--
+ *  Copyright (c) 2003-2005 The Open For Business Project - www.ofbiz.org
+ *
+ *  Permission is hereby granted, free of charge, to any person obtaining a
+ *  copy of this software and associated documentation files (the "Software"),
+ *  to deal in the Software without restriction, including without limitation
+ *  the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ *  and/or sell copies of the Software, and to permit persons to whom the
+ *  Software is furnished to do so, subject to the following conditions:
+ *
+ *  The above copyright notice and this permission notice shall be included
+ *  in all copies or substantial portions of the Software.
+ *
+ *  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+ *  OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ *  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+ *  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+ *  CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT
+ *  OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
+ *  THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+ *
+ *@author     Si Chen (sichen at opensourcestrategies.com)
+-->
+<?xml version="1.0" encoding="iso-8859-1"?>
+
+<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
+    <fo:layout-master-set>
+        <fo:simple-page-master master-name="main-page"
+            margin-top="1in" margin-bottom="1in"
+            margin-left="1in" margin-right="1in">
+            <fo:region-body margin-top="3.5in" margin-bottom="1in"/>  <#-- main body -->
+            <fo:region-after extent="1in"/>  <#-- a footer -->
+            <fo:region-before extent="3.5in"/>  <#-- a header -->
+        </fo:simple-page-master>
+    </fo:layout-master-set>
+  
+  <fo:page-sequence master-reference="main-page">
+       <#-- the region-before and -after must be declared as fo:static-content and before the fo:flow.  only 1 fo:flow per
+            fo:page-sequence -->
+       <fo:static-content flow-name="xsl-region-before">
+         <#-- a nest of tables to put company information on left and invoice information on the right -->
+        <fo:table>
+           <fo:table-column column-width="3.5in"/>
+           <fo:table-column column-width="3in"/>
+            <fo:table-body>
+              <fo:table-row>
+                <fo:table-cell>
+                   <fo:block white-space-collapse="false">
+                   <#-- company information goes here -->
+                   <#-- TODO: figure out why <@ofbizContentUrl> does not work -->
+<fo:external-graphic src="http://127.0.0.1:8080/images/ofbiz_powered.gif" overflow="hidden" width="88pt" height="31pt"/>
+Company Header Information Here
+put addresses, etc. etc.
+</fo:block>
+                </fo:table-cell>
+                <fo:table-cell>
+                  <fo:table>
+                    <fo:table-column column-width="1.5in"/>
+                    <fo:table-column column-width="1.5in"/>
+                    <fo:table-body>
+                    <fo:table-row>
+                      <fo:table-cell>
+                         <fo:block number-columns-spanned="2" font-weight="bold">${orderHeader.getRelatedOne("OrderType").getString("description")} ${uiLabelMap.OrderOrder}</fo:block>
+                      </fo:table-cell>
+                    </fo:table-row>
+                    
+                    <fo:table-row>
+                      <fo:table-cell><fo:block>${uiLabelMap.OrderDateOrdered}</fo:block></fo:table-cell>
+                      <#assign dateFormat = Static["java.text.DateFormat"].LONG>
+                      <#assign orderDate = Static["java.text.DateFormat"].getDateInstance(dateFormat).format(orderHeader.get("orderDate"))>
+                      <fo:table-cell><fo:block>${orderDate}</fo:block></fo:table-cell>
+                    </fo:table-row>
+                                  
+                    <fo:table-row>
+                      <fo:table-cell><fo:block>${uiLabelMap.OrderOrder} #</fo:block></fo:table-cell>
+                      <fo:table-cell><fo:block>${orderId}</fo:block></fo:table-cell>
+                    </fo:table-row>
+
+                    <fo:table-row>
+                      <fo:table-cell><fo:block>${uiLabelMap.OrderCurrentStatus}</fo:block></fo:table-cell>
+                      <fo:table-cell><fo:block font-weight="bold">${currentStatus.description}</fo:block></fo:table-cell>
+                    </fo:table-row>
+                  </fo:table-body>
+                </fo:table>
+              </fo:table-cell>
+            </fo:table-row>
+          </fo:table-body>
+        </fo:table>
+
+       <#-- Inserts a newline.  white-space-collapse="false" specifies that the stuff inside fo:block is to repeated verbatim -->
+       <fo:block white-space-collapse="false"> </fo:block> 
+
+       <fo:table border-spacing="3pt">
+           <fo:table-column column-width="3.75in"/>
+          <fo:table-column column-width="3.75in"/>
+          <fo:table-body>
+            <fo:table-row>    <#-- this part could use some improvement -->
+             <#list orderContactMechValueMaps as orderContactMechValueMap>
+               <#assign contactMech = orderContactMechValueMap.contactMech>
+               <#assign contactMechPurpose = orderContactMechValueMap.contactMechPurposeType>
+               <#if contactMech.contactMechTypeId == "POSTAL_ADDRESS">
+               <fo:table-cell>
+                 <fo:block white-space-collapse="false">
+<fo:block font-weight="bold">${contactMechPurpose.description} : </fo:block><#assign postalAddress = orderContactMechValueMap.postalAddress><#if postalAddress?has_content><#if postalAddress.toName?has_content>${postalAddress.toName}</#if><#if postalAddress.attnName?has_content>
+${postalAddress.attnName}</#if>
+${postalAddress.address1}<#if postalAddress.address2?has_content>
+${postalAddress.address2}<br/></#if>
+${postalAddress.city}<#if postalAddress.stateProvinceGeoId?has_content>, ${postalAddress.stateProvinceGeoId} </#if></#if></fo:block>
+                </fo:table-cell>
+                </#if>
+             </#list>
+            </fo:table-row>
+         </fo:table-body>
+       </fo:table>
+
+       <fo:block white-space-collapse="false"> </fo:block> 
+
+       <fo:table border-spacing="3pt">
+          <fo:table-column column-width="1.75in"/>
+          <fo:table-column column-width="4.25in"/>
+          
+  <#-- payment info -->                
+          <fo:table-body>
+            <fo:table-row>
+                <fo:table-cell><fo:block>${uiLabelMap.AccountingPaymentInformation}</fo:block></fo:table-cell>
+                <fo:table-cell><fo:block>
+                   <#if orderPaymentPreferences?has_content>
+                      <#list orderPaymentPreferences as orderPaymentPreference>
+                         <#assign paymentMethodType = orderPaymentPreference.getRelatedOne("PaymentMethodType")?if_exists>
+                         <#if orderPaymentPreference.getString("paymentMethodTypeId") == "CREDIT_CARD">
+                           <#assign creditCard = orderPaymentPreference.getRelatedOne("PaymentMethod").getRelatedOne("CreditCard")>
+                             ${Static["org.ofbiz.party.contact.ContactHelper"].formatCreditCard(creditCard)}
+                         <#else>
+                             ${paymentMethodType.description?if_exists}
+                         </#if>
+                      </#list>
+                   </#if>
+                         </fo:block>
+                 </fo:table-cell>
+            </fo:table-row>
+        <#-- shipping method.  currently not shown for PO's because we are not recording a shipping method for PO's in order entry -->
+           <#if orderHeader.getString("orderTypeId") == "SALES_ORDER">
+            <fo:table-row>
+               <fo:table-cell><fo:block>${uiLabelMap.OrderShipmentInformation}:</fo:block></fo:table-cell>
+                  <fo:table-cell>
+                 <#if shipGroups?has_content>
+                   <#list shipGroups as shipGroup>
+                   <#-- TODO: List all full details of each ship group here -->
+                        <fo:block>
+                      ${shipGroup.shipmentMethodTypeId?if_exists}
+                     </fo:block>
+                   </#list>
+                  </#if>
+               </fo:table-cell>
+             </fo:table-row>
+           </#if>
+       <#-- order terms information -->
+             <#if orderTerms?has_content>
+             <fo:table-row>
+               <fo:table-cell><fo:block>${uiLabelMap.OrderOrderTerms}: </fo:block></fo:table-cell>
+               <fo:table-cell white-space-collapse="false"><fo:block><#list orderTerms as orderTerm>${orderTerm.getRelatedOne("TermType").get("description")} ${orderTerm.termValue?default("")} ${orderTerm.termDays?default("")}
+</#list></fo:block></fo:table-cell>
+             </fo:table-row>
+             </#if>
+          </fo:table-body>
+       </fo:table>
+
+       </fo:static-content>
+         
+       <#-- this part is the footer.  Use it for standard boilerplate text. -->
+       <fo:static-content flow-name="xsl-region-after">
+<#if orderHeader.getString("orderTypeId") == "SALES_ORDER">
+           <fo:block font-size="14pt" font-weight="bold" text-align="center">THANK YOU FOR YOUR PATRONAGE!</fo:block>
+           <fo:block font-size="8pt" white-space-collapse="false">
+Here is a good place to put policies and return information.
+</fo:block>
+<#elseif orderHeader.getString("orderTypeId") == "PURCHASE_ORDER">
+           <fo:block font-size="8pt" white-space-collapse="false">
+Here is a good place to put boilerplate terms and conditions for a purchase order.
+</fo:block>
+</#if>
+           <#-- displays page number.  "theEnd" is an id of a fo:block at the very end -->    
+           <fo:block font-size="10pt" text-align="center">Page <fo:page-number/> of <fo:page-number-citation ref-id="theEnd"/></fo:block>
+       </fo:static-content>
+       <#-- end of footer -->
+       
+    <fo:flow flow-name="xsl-region-body">
+    <#-- order items -->    
+    <#if orderHeader?has_content>
+        <fo:table border-spacing="3pt">
+
+       <fo:table-column column-width="3.5in"/>
+       <fo:table-column column-width="1in"/>
+          <fo:table-column column-width="1in"/>
+       <fo:table-column column-width="1in"/>
+  
+       <fo:table-header>
+           <fo:table-row>
+               <fo:table-cell><fo:block font-weight="bold">${uiLabelMap.ProductProduct}</fo:block></fo:table-cell>
+               <fo:table-cell text-align="center"><fo:block font-weight="bold">${uiLabelMap.OrderQuantity}</fo:block></fo:table-cell>
+               <fo:table-cell text-align="center"><fo:block font-weight="bold">${uiLabelMap.OrderUnitList}</fo:block></fo:table-cell>
+               <fo:table-cell text-align="center"><fo:block font-weight="bold">${uiLabelMap.OrderSubTotal}</fo:block></fo:table-cell>
+           </fo:table-row>        
+       </fo:table-header>
+        
+            <fo:table-body>
+           <#list orderItemList as orderItem>
+                 <#assign orderItemType = orderItem.getRelatedOne("OrderItemType")?if_exists>
+                 <#assign productId = orderItem.productId?if_exists>
+                    <#assign remainingQuantity = (orderItem.quantity?default(0) - orderItem.cancelQuantity?default(0))>
+                 <#assign itemAdjustment = Static["org.ofbiz.order.order.OrderReadHelper"].getOrderItemAdjustmentsTotal(orderItem, orderAdjustments, true, false, false)>
+                  <fo:table-row>
+                        <fo:table-cell>
+                            <fo:block>
+                               <#if productId?exists>
+                                ${orderItem.productId?default("N/A")} - ${orderItem.itemDescription?if_exists}
+                              <#elseif orderItemType?exists>
+                                ${orderItemType.description} - ${orderItem.itemDescription?if_exists}
+                              <#else>
+                                ${orderItem.itemDescription?if_exists}
+                              </#if>
+                               </fo:block>
+                          </fo:table-cell>
+                              <fo:table-cell text-align="right"><fo:block>${remainingQuantity}</fo:block></fo:table-cell>            
+                            <fo:table-cell text-align="right"><fo:block><@ofbizCurrency amount=orderItem.unitPrice isoCode=currencyUomId/></fo:block></fo:table-cell>
+                            <fo:table-cell text-align="right"><fo:block>
+                            <#if orderItem.statusId != "ITEM_CANCELLED">
+                                  <@ofbizCurrency amount=Static["org.ofbiz.order.order.OrderReadHelper"].getOrderItemSubTotal(orderItem, orderAdjustments) isoCode=currencyUomId/>
+                            <#else>
+                                <@ofbizCurrency amount=0.00 isoCode=currencyUomId/>
+                            </#if></fo:block></fo:table-cell>
+                       </fo:table-row>
+                       <#if itemAdjustment != 0>
+                       <fo:table-row>
+                        <fo:table-cell number-columns-spanned="2"><fo:block><fo:inline font-style="italic">${uiLabelMap.OrderAdjustments}</fo:inline>: <@ofbizCurrency amount=itemAdjustment isoCode=currencyUomId/></fo:block></fo:table-cell>
+                    </fo:table-row>
+                    </#if>
+           </#list>
+           <#-- summary of order amounts --> 
+                       <fo:table-row>
+                        <fo:table-cell></fo:table-cell>
+                        <fo:table-cell number-columns-spanned="2"><fo:block font-weight="bold">${uiLabelMap.OrderItemsSubTotal}</fo:block></fo:table-cell>
+                        <fo:table-cell text-align="right"><fo:block><@ofbizCurrency amount=orderSubTotal isoCode=currencyUomId/></fo:block></fo:table-cell>
+                    </fo:table-row>
+                  <#if otherAdjAmount != 0>
+                    <fo:table-row>
+                        <fo:table-cell></fo:table-cell>
+                        <fo:table-cell number-columns-spanned="2"><fo:block font-weight="bold">${uiLabelMap.OrderTotalOtherOrderAdjustments}</fo:block></fo:table-cell>
+                        <fo:table-cell text-align="right"><fo:block><@ofbizCurrency amount=otherAdjAmount isoCode=currencyUomId/></fo:block></fo:table-cell>
+                    </fo:table-row>
+                  </#if>
+                  <#if shippingAmount != 0>
+                    <fo:table-row>
+                        <fo:table-cell></fo:table-cell>
+                        <fo:table-cell number-columns-spanned="2"><fo:block font-weight="bold">${uiLabelMap.OrderTotalShippingAndHandling}</fo:block></fo:table-cell>
+                        <fo:table-cell text-align="right"><fo:block><@ofbizCurrency amount=shippingAmount isoCode=currencyUomId/></fo:block></fo:table-cell>
+                    </fo:table-row>
+                  </#if>
+                  <#if taxAmount != 0>
+                    <fo:table-row>
+                        <fo:table-cell></fo:table-cell>
+                        <fo:table-cell number-columns-spanned="2"><fo:block font-weight="bold">${uiLabelMap.OrderTotalSalesTax}</fo:block></fo:table-cell>
+                        <fo:table-cell text-align="right"><fo:block><@ofbizCurrency amount=taxAmount isoCode=currencyUomId/></fo:block></fo:table-cell>
+                    </fo:table-row>
+                  </#if>
+                  <#if grandTotal != 0>
+                    <fo:table-row>
+                        <fo:table-cell></fo:table-cell>
+                        <fo:table-cell number-columns-spanned="2" background-color="#EEEEEE"><fo:block font-weight="bold">${uiLabelMap.OrderTotalDue}</fo:block></fo:table-cell>
+                        <fo:table-cell text-align="right"><fo:block><@ofbizCurrency amount=grandTotal isoCode=currencyUomId/></fo:block></fo:table-cell>
+                    </fo:table-row>
+                  </#if>
+            </fo:table-body>
+    </fo:table>    
+    </#if>
+    <fo:block id="theEnd"/>  <#-- marks the end of the pages and used to identify page-number at the end -->
+    </fo:flow>
+    </fo:page-sequence>
+</fo:root>
\ No newline at end of file


Property changes on: trunk/applications/order/webapp/ordermgr/order/orderView.fo.ftl
___________________________________________________________________
Name: svn:mime-type
   + text/plain
Name: svn:keywords
   + "Id Rev Author"
Name: svn:eol-style
   + native

Modified: trunk/applications/order/webapp/ordermgr/order/orderheader.ftl
===================================================================
--- trunk/applications/order/webapp/ordermgr/order/orderheader.ftl	2005-06-09 07:46:50 UTC (rev 5114)
+++ trunk/applications/order/webapp/ordermgr/order/orderheader.ftl	2005-06-09 18:47:26 UTC (rev 5115)
@@ -38,7 +38,7 @@
             <table width="100%" border="0" cellspacing="0" cellpadding="0" class="boxtop">
               <tr>
                 <td valign="middle" align="left">
-                  <div class="boxhead">&nbsp;${uiLabelMap.OrderOrder} #${orderId} ${uiLabelMap.CommonInformation}</div>
+                  <div class="boxhead">&nbsp;${uiLabelMap.OrderOrder} #${orderId} ${uiLabelMap.CommonInformation} [<a href="<@ofbizUrl>/order.pdf?order_id=${orderId}</@ofbizUrl>" class="submenutextright">PDF</a> ]</div>
                 </td>
                 <td valign="middle" align="right">
                   <#if currentStatus.statusId == "ORDER_CREATED" || currentStatus.statusId == "ORDER_PROCESSING">
@@ -855,6 +855,7 @@
     </td>
   </tr>
 </table>
+
 <#else/>
     <view class="head2">${uiLabelMap.OrderNoOrderFound} with ID: [${orderId?if_exists}]</div>
 </#if>

Modified: trunk/applications/order/webapp/ordermgr/order/orderitems.ftl
===================================================================
--- trunk/applications/order/webapp/ordermgr/order/orderitems.ftl	2005-06-09 07:46:50 UTC (rev 5114)
+++ trunk/applications/order/webapp/ordermgr/order/orderitems.ftl	2005-06-09 18:47:26 UTC (rev 5115)
@@ -123,7 +123,7 @@
                         <#assign remainingQuantity = (orderItem.quantity?default(0) - orderItem.cancelQuantity?default(0))>
                         <div class="tabletext">${uiLabelMap.OrderOrdered}:&nbsp;${orderItem.quantity?default(0)?string.number}&nbsp;&nbsp;</div>
                         <div class="tabletext">${uiLabelMap.OrderCancelled}:&nbsp;${orderItem.cancelQuantity?default(0)?string.number}&nbsp;&nbsp;</div>
-                        <div class="tabletext">${uiLabelMap.OrderRemaining}:&nbsp;
+                        <div class="tabletext">${uiLabelMap.OrderRemaining}:&nbsp;${remainingQuantity}&nbsp;&nbsp;</div>
                       </td>
                       <td align="right" valign="top" nowrap>
                         <div class="tabletext" nowrap><@ofbizCurrency amount=orderItem.unitPrice isoCode=currencyUomId/> / <@ofbizCurrency amount=orderItem.unitListPrice isoCode=currencyUomId/></div>

Added: trunk/applications/order/widget/ordermgr/OrderPrintForms.xml
===================================================================
--- trunk/applications/order/widget/ordermgr/OrderPrintForms.xml	2005-06-09 07:46:50 UTC (rev 5114)
+++ trunk/applications/order/widget/ordermgr/OrderPrintForms.xml	2005-06-09 18:47:26 UTC (rev 5115)
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ *  Copyright (c) 2003-2005 The Open For Business Project - www.ofbiz.org
+ *
+ *  Permission is hereby granted, free of charge, to any person obtaining a
+ *  copy of this software and associated documentation files (the "Software"),
+ *  to deal in the Software without restriction, including without limitation
+ *  the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ *  and/or sell copies of the Software, and to permit persons to whom the
+ *  Software is furnished to do so, subject to the following conditions:
+ *
+ *  The above copyright notice and this permission notice shall be included
+ *  in all copies or substantial portions of the Software.
+ *
+ *  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+ *  OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ *  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+ *  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+ *  CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT
+ *  OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
+ *  THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+ *
+ *  @author Si Chen (sichen at opensourcestrategies.com)
+-->
+
+<!-- These forms are for generating printed documents, such as invoices, bills, statements, etc. -->
+
+<screens xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
+        xsi:noNamespaceSchemaLocation="http://www.ofbiz.org/dtds/widget-screen.xsd">
+
+    <!-- generate a PDF for the order, sharing the same BSH file as the HTML page for viewing the order -->
+    <screen name="OrderPDF">
+        <section>
+            <actions>
+                <set field="title" value="Order"/>
+                <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/orderview.bsh"/>
+            </actions>
+            <widgets>
+                <platform-specific>
+                    <html><html-template location="component://order/webapp/ordermgr/order/orderView.fo.ftl"/></html>
+                </platform-specific>                
+            </widgets>
+        </section>
+    </screen>
+    
+
+</screens>


Property changes on: trunk/applications/order/widget/ordermgr/OrderPrintForms.xml
___________________________________________________________________
Name: svn:mime-type
   + text/xml
Name: svn:keywords
   + "Id Rev Author"
Name: svn:eol-style
   + native



More information about the Svn mailing list