svn commit: r754738 - in /ofbiz/trunk: applications/content/script/org/ofbiz/content/content/ applications/product/script/org/ofbiz/shipment/test/ applications/securityext/script/org/ofbiz/securityext/login/ specialpurpose/googleCheckout/script/org/ofb...

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r754738 - in /ofbiz/trunk: applications/content/script/org/ofbiz/content/content/ applications/product/script/org/ofbiz/shipment/test/ applications/securityext/script/org/ofbiz/securityext/login/ specialpurpose/googleCheckout/script/org/ofb...

mrisaliti
Author: mrisaliti
Date: Sun Mar 15 20:07:30 2009
New Revision: 754738

URL: http://svn.apache.org/viewvc?rev=754738&view=rev
Log:
Artifact cleaning after recent changes on xsd files (OFBIZ-2137)

Modified:
    ofbiz/trunk/applications/content/script/org/ofbiz/content/content/ContentEvents.xml
    ofbiz/trunk/applications/content/script/org/ofbiz/content/content/ContentPermissionEvents.xml
    ofbiz/trunk/applications/product/script/org/ofbiz/shipment/test/TestServices.xml
    ofbiz/trunk/applications/securityext/script/org/ofbiz/securityext/login/LoginSimpleEvents.xml
    ofbiz/trunk/specialpurpose/googleCheckout/script/org/ofbiz/googleCheckout/PrepareXMLTemplate.xml
    ofbiz/trunk/specialpurpose/googleCheckout/script/org/ofbiz/googleCheckout/ShoppingCartServices.xml

Modified: ofbiz/trunk/applications/content/script/org/ofbiz/content/content/ContentEvents.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/script/org/ofbiz/content/content/ContentEvents.xml?rev=754738&r1=754737&r2=754738&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/script/org/ofbiz/content/content/ContentEvents.xml (original)
+++ ofbiz/trunk/applications/content/script/org/ofbiz/content/content/ContentEvents.xml Sun Mar 15 20:07:30 2009
@@ -62,7 +62,7 @@
         </if-empty>
         <check-errors/>
 
-        <session-to-field session-name="currentEntityMap" field-name="entityMap"/>
+        <session-to-field session-name="currentEntityMap" field="entityMap"/>
         <if-not-empty field="entityMap">
             <set field="currentEntityMap" from-field="entityMap"/>
         </if-not-empty>
@@ -71,7 +71,7 @@
         <log level="always" message="contentPK: ${contentPK}"/>
         <set field="currentEntityMap.Content" from-field="contentPK"/>
         <log level="always" message="currentEntityMap: ${currentEntityMap}"/>
-        <field-to-session session-name="currentEntityMap" field-name="currentEntityMap"/>
+        <field-to-session session-name="currentEntityMap" field="currentEntityMap"/>
 
         <if-not-empty field="parameters.contentPurposeTypeId">
             <log level="always" message="contentPurposeTypeId: ${parameters.contentPurposeTypeId}"/>

Modified: ofbiz/trunk/applications/content/script/org/ofbiz/content/content/ContentPermissionEvents.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/script/org/ofbiz/content/content/ContentPermissionEvents.xml?rev=754738&r1=754737&r2=754738&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/script/org/ofbiz/content/content/ContentPermissionEvents.xml (original)
+++ ofbiz/trunk/applications/content/script/org/ofbiz/content/content/ContentPermissionEvents.xml Sun Mar 15 20:07:30 2009
@@ -31,7 +31,7 @@
 
         <log level="always" message="currentContent: ${currentContent}"/>
 
-        <field-to-list field="contentPurposeTypeId" list="contentPurposeList" map-name="parameters"/>
+        <field-to-list field="parameters.contentPurposeTypeId" list="contentPurposeList"/>
         <string-to-list list="targetOperationList" string="CONTENT_CREATE"/>
         <set field="context.currentContent" from-field="currentContent"/>
         <set field="context.contentPurposeList" from-field="contentPurposeList"/>

Modified: ofbiz/trunk/applications/product/script/org/ofbiz/shipment/test/TestServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/shipment/test/TestServices.xml?rev=754738&r1=754737&r2=754738&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/script/org/ofbiz/shipment/test/TestServices.xml (original)
+++ ofbiz/trunk/applications/product/script/org/ofbiz/shipment/test/TestServices.xml Sun Mar 15 20:07:30 2009
@@ -33,7 +33,7 @@
             <field-map field-name="userLoginId" value="system"/>
         </entity-one>
         <set field="packSingleItemInMap.userLogin" from-field="userLogin"/>
-        <create-object class-name="org.ofbiz.shipment.packing.PackingSession" field-name="packingSession">
+        <create-object class-name="org.ofbiz.shipment.packing.PackingSession" field="packingSession">
             <field field="dispatcher" type="org.ofbiz.service.LocalDispatcher"/>
             <field field="userLogin" type="org.ofbiz.entity.GenericValue"/>
         </create-object>

Modified: ofbiz/trunk/applications/securityext/script/org/ofbiz/securityext/login/LoginSimpleEvents.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/securityext/script/org/ofbiz/securityext/login/LoginSimpleEvents.xml?rev=754738&r1=754737&r2=754738&view=diff
==============================================================================
--- ofbiz/trunk/applications/securityext/script/org/ofbiz/securityext/login/LoginSimpleEvents.xml (original)
+++ ofbiz/trunk/applications/securityext/script/org/ofbiz/securityext/login/LoginSimpleEvents.xml Sun Mar 15 20:07:30 2009
@@ -37,7 +37,7 @@
         </call-service>
         <session-to-field field="userLogin"/>
         <if-compare-field field="userLogin.userLoginId" operator="equals" to-field="updatedUserLogin.userLoginId">
-            <field-to-session field-name="updatedUserLogin" session-name="userLogin"/>
+            <field-to-session field="updatedUserLogin" session-name="userLogin"/>
         </if-compare-field>
     </simple-method>
 </simple-methods>

Modified: ofbiz/trunk/specialpurpose/googleCheckout/script/org/ofbiz/googleCheckout/PrepareXMLTemplate.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/googleCheckout/script/org/ofbiz/googleCheckout/PrepareXMLTemplate.xml?rev=754738&r1=754737&r2=754738&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/googleCheckout/script/org/ofbiz/googleCheckout/PrepareXMLTemplate.xml (original)
+++ ofbiz/trunk/specialpurpose/googleCheckout/script/org/ofbiz/googleCheckout/PrepareXMLTemplate.xml Sun Mar 15 20:07:30 2009
@@ -63,32 +63,32 @@
     </simple-method>
     <simple-method method-name="createRequestUrl" short-description="">
         <!-- Setup Url spec -->
-        <property-to-field resource="googleCheckout" property="basePostUrl" field-name="basePostUrl"/>
-        <property-to-field resource="googleCheckout" property="merchantId" field-name="merchantId"/>
-        <property-to-field resource="googleCheckout" property="request" field-name="request"/>
+        <property-to-field resource="googleCheckout" property="basePostUrl" field="basePostUrl"/>
+        <property-to-field resource="googleCheckout" property="merchantId" field="merchantId"/>
+        <property-to-field resource="googleCheckout" property="request" field="request"/>
         <set field="urlSpec" value="${basePostUrl}${merchantId}${request}"/>
-        <create-object class-name="java.net.URL" field-name="url">
-            <field field-name="urlSpec"/>
+        <create-object class-name="java.net.URL" field="url">
+            <field field="urlSpec"/>
         </create-object>
     </simple-method>
     <simple-method method-name="getHttpAuth" short-description="">
-        <property-to-field resource="googleCheckout" property="merchantId" field-name="merchantId"/>
-        <property-to-field resource="googleCheckout" property="merchantKey" field-name="merchantKey"/>
+        <property-to-field resource="googleCheckout" property="merchantId" field="merchantId"/>
+        <property-to-field resource="googleCheckout" property="merchantKey" field="merchantKey"/>
         <set field="userNameAndPass" value="${merchantId}:${merchantKey}"/>
-        <call-class-method method-name="base64Encode" class-name="org.ofbiz.base.util.Base64" ret-field-name="encodedValue">
-            <field field-name="userNameAndPass"/>
+        <call-class-method method-name="base64Encode" class-name="org.ofbiz.base.util.Base64" ret-field="encodedValue">
+            <field field="userNameAndPass"/>
         </call-class-method>
         <set field="HttpAuth" value="Basic ${encodedValue}"/>
     </simple-method>
 <!-- Step 2 -->
     <simple-method method-name="createXMLOutput" short-description="">
         <!-- create writer -->
-        <create-object class-name="java.io.StringWriter" field-name="XMLWriter"/>
+        <create-object class-name="java.io.StringWriter" field="XMLWriter"/>
         <!-- create screen context -->
-        <call-class-method method-name="create" class-name="org.ofbiz.base.util.collections.MapStack" ret-field-name="xscreenContext"/>
+        <call-class-method method-name="create" class-name="org.ofbiz.base.util.collections.MapStack" ret-field="xscreenContext"/>
         <!-- Add the shoppingCart to the MapStack -->
         <set field="inMap.shoppingCart" from-field="parameters.shoppingCart"/>
-        <set-service-fields map-name="inMap" service-name="ConvertOfbizCartToGoogle" to-map-name="serMap"/>
+        <set-service-fields map="inMap" service-name="ConvertOfbizCartToGoogle" to-map="serMap"/>
         <call-service service-name="ConvertOfbizCartToGoogle" in-map-name="serMap">
             <result-to-field result-name="googleCart"/>
             <result-to-field result-name="flowSupport"/>
@@ -99,23 +99,23 @@
         <set field="xscreenContext.sendInitialAuthDetails" from-field="sendInitialAuthDetails"/>
         <set field="xscreenContext.shoppingCart" from-field="parameters.shoppingCart"/>
         <!-- create string renderer -->
-        <create-object class-name="org.ofbiz.widget.html.HtmlScreenRenderer" field-name="xhtmlStringRenderer"></create-object>
+        <create-object class-name="org.ofbiz.widget.html.HtmlScreenRenderer" field="xhtmlStringRenderer"></create-object>
         <!-- create screen renderer -->
-        <create-object class-name="org.ofbiz.widget.screen.ScreenRenderer" field-name="screens">
-            <field field-name="XMLWriter" type="java.io.Writer"/>
-            <field field-name="xscreenContext" type="org.ofbiz.base.util.collections.MapStack"/>
-            <field field-name="xhtmlStringRenderer" type="org.ofbiz.widget.screen.ScreenStringRenderer"/>
+        <create-object class-name="org.ofbiz.widget.screen.ScreenRenderer" field="screens">
+            <field field="XMLWriter" type="java.io.Writer"/>
+            <field field="xscreenContext" type="org.ofbiz.base.util.collections.MapStack"/>
+            <field field="xhtmlStringRenderer" type="org.ofbiz.widget.screen.ScreenStringRenderer"/>
         </create-object>
         <set field="xscreenContext.screens" from-field="screens"/>
-        <create-object class-name="org.ofbiz.widget.screen.ScreenRenderer" field-name="xscreens">
-            <field field-name="XMLWriter" type="java.io.Writer"/>
-            <field field-name="xscreenContext" type="org.ofbiz.base.util.collections.MapStack"/>
-            <field field-name="xhtmlStringRenderer" type="org.ofbiz.widget.screen.ScreenStringRenderer"/>
+        <create-object class-name="org.ofbiz.widget.screen.ScreenRenderer" field="xscreens">
+            <field field="XMLWriter" type="java.io.Writer"/>
+            <field field="xscreenContext" type="org.ofbiz.base.util.collections.MapStack"/>
+            <field field="xhtmlStringRenderer" type="org.ofbiz.widget.screen.ScreenStringRenderer"/>
         </create-object>
         <!-- get uri -->
-        <property-to-field resource="googleCheckout" property="xmlTemplateUri" field-name="screenUri"/>
+        <property-to-field resource="googleCheckout" property="xmlTemplateUri" field="screenUri"/>
         <call-object-method method-name="render" obj-field="xscreens">
-            <field field-name="screenUri" type="String"/>
+            <field field="screenUri" type="String"/>
         </call-object-method>
         <set field="content" value="${bsh:XMLWriter.toString()}"/>
     </simple-method>
@@ -125,17 +125,17 @@
         sWriter = new OutputStreamWriter(conn.getOutputStream());
         return org.ofbiz.base.util.UtilMisc.toMap("sWriter", sWriter);
         ]]></call-bsh>
-        <create-object class-name="java.io.BufferedWriter" field-name="writer">
-            <field field-name="sWriter" type="java.io.Writer"/>
+        <create-object class-name="java.io.BufferedWriter" field="writer">
+            <field field="sWriter" type="java.io.Writer"/>
         </create-object>
         <call-object-method method-name="write" obj-field="writer">
-            <field field-name="content" type="String"/>
+            <field field="content" type="String"/>
         </call-object-method>
         <call-object-method method-name="close" obj-field="writer"/>
     </simple-method>
 <!-- Step 4 -->
     <simple-method method-name="getResponse" short-description="">
-        <clear-field field-name="sReader"/>
+        <clear-field field="sReader"/>
         <call-bsh><![CDATA[
         try {
           sReader = new InputStreamReader(conn.getInputStream());
@@ -145,8 +145,8 @@
         return org.ofbiz.base.util.UtilMisc.toMap("sReader", sReader);
         ]]></call-bsh>
 
-        <create-object class-name="java.io.BufferedReader" field-name="reader">
-            <field field-name="sReader" type="java.io.Reader"/>
+        <create-object class-name="java.io.BufferedReader" field="reader">
+            <field field="sReader" type="java.io.Reader"/>
         </create-object>
         <call-bsh><![CDATA[
         StringBuffer buffer = new StringBuffer();
@@ -164,14 +164,14 @@
             document = org.ofbiz.base.util.UtilXml.readXmlDocument(response, false);
         return org.ofbiz.base.util.UtilMisc.toMap("document", document);
         ]]></call-bsh>
-        <call-object-method method-name="getDocumentElement" obj-field="document" ret-field-name="rootElement"/>
+        <call-object-method method-name="getDocumentElement" obj-field="document" ret-field="rootElement"/>
         <!-- May want to get the serial number to store eventually; would be an attribute of this rootElement,
                 Skipping for now -->
         <call-simple-method method-name="getRedirectFromRootElement"/>
     </simple-method>
     <simple-method method-name="getRedirectFromRootElement" short-description="">
-        <call-class-method method-name="childElementList" class-name="org.ofbiz.base.util.UtilXml" ret-field-name="childList">
-            <field field-name="rootElement" type="org.w3c.dom.Element"/>
+        <call-class-method method-name="childElementList" class-name="org.ofbiz.base.util.UtilXml" ret-field="childList">
+            <field field="rootElement" type="org.w3c.dom.Element"/>
         </call-class-method>
         <call-bsh><![CDATA[
         redirect = null;
@@ -206,23 +206,23 @@
         <set field="false" value="false" type="Boolean"/>
 
         <call-object-method method-name="setDoInput" obj-field="conn">
-            <field field-name="true" type="boolean"/>
+            <field field="true" type="boolean"/>
         </call-object-method>
 
         <call-object-method method-name="setDoOutput" obj-field="conn">
-            <field field-name="true" type="boolean"/>
+            <field field="true" type="boolean"/>
         </call-object-method>
 
         <call-object-method method-name="setUseCaches" obj-field="conn">
-            <field field-name="false" type="boolean"/>
+            <field field="false" type="boolean"/>
         </call-object-method>
 
         <call-object-method method-name="setFollowRedirects" obj-field="conn">
-            <field field-name="true" type="boolean"/>
+            <field field="true" type="boolean"/>
         </call-object-method>
 
         <call-object-method method-name="setInstanceFollowRedirects" obj-field="conn">
-            <field field-name="true" type="boolean"/>
+            <field field="true" type="boolean"/>
         </call-object-method>
 
         <call-object-method method-name="setRequestMethod" obj-field="conn">
@@ -232,13 +232,13 @@
         <call-simple-method method-name="getHttpAuth"/>
         <call-object-method method-name="setRequestProperty" obj-field="conn">
             <string value="Authorization"/>
-            <field field-name="HttpAuth"/>
+            <field field="HttpAuth"/>
         </call-object-method>
 
         <call-simple-method method-name="getHttpHost"/>
         <call-object-method method-name="setRequestProperty" obj-field="conn">
             <string value="Host"/>
-            <field field-name="HttpHost"/>
+            <field field="HttpHost"/>
         </call-object-method>
 
         <call-object-method method-name="setRequestProperty" obj-field="conn">

Modified: ofbiz/trunk/specialpurpose/googleCheckout/script/org/ofbiz/googleCheckout/ShoppingCartServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/googleCheckout/script/org/ofbiz/googleCheckout/ShoppingCartServices.xml?rev=754738&r1=754737&r2=754738&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/googleCheckout/script/org/ofbiz/googleCheckout/ShoppingCartServices.xml (original)
+++ ofbiz/trunk/specialpurpose/googleCheckout/script/org/ofbiz/googleCheckout/ShoppingCartServices.xml Sun Mar 15 20:07:30 2009
@@ -45,9 +45,9 @@
 
     </simple-method>
     <simple-method method-name="createCheckoutFlowSupport" short-description="">
-        <property-to-field resource="googleCheckout" property="editCartUrl" field="editCartUrl" map-name="flowSupport"/>
-        <property-to-field resource="googleCheckout" property="continueShoppingUrl" field="continueShoppingUrl" map-name="flowSupport"/>
-        <property-to-field resource="googleCheckout" property="requestPhone" field="requestPhone" map-name="flowSupport"/>
+        <property-to-field resource="googleCheckout" property="editCartUrl" field="flowSupport.editCartUrl"/>
+        <property-to-field resource="googleCheckout" property="continueShoppingUrl" field="flowSupport.continueShoppingUrl"/>
+        <property-to-field resource="googleCheckout" property="requestPhone" field="flowSupport.requestPhone"/>
 
         <call-simple-method method-name="getTaxTables"/>
         <set field="flowSupport.taxTables" from-field="taxTables"/>
@@ -69,13 +69,13 @@
         <call-object-method method-name="items" obj-field="cart" ret-field="cartItems"/>
         <iterate entry="item" list="cartItems">
             <!-- itemName -->
-            <call-object-method method-name="getProductId" obj-field="item" ret-field="itemName" ret-map-name="thisItem"/>
+            <call-object-method method-name="getProductId" obj-field="item" ret-field="thisItem.itemName"/>
             <!-- itemDesc -->
-            <call-object-method method-name="getName" obj-field="item" ret-field="description" ret-map-name="thisItem"/>
+            <call-object-method method-name="getName" obj-field="item" ret-field="thisItem.description"/>
             <!-- unitPrice -->
-            <call-object-method method-name="getBasePrice" obj-field="item" ret-field="unitPrice" ret-map-name="thisItem"/>
+            <call-object-method method-name="getBasePrice" obj-field="item" ret-field="thisItem.unitPrice"/>
             <!-- quantity -->
-            <call-object-method method-name="getQuantity" obj-field="item" ret-field="quantity" ret-map-name="thisItem"/>
+            <call-object-method method-name="getQuantity" obj-field="item" ret-field="thisItem.quantity"/>
             <!-- merchantItemId -->
             <call-simple-method method-name="getMerchantItemId"/>
             <!-- merchant private item data -->