svn commit: r803436 - in /ofbiz/trunk/specialpurpose/ebay: config/EbayUiLabels.xml src/org/ofbiz/ebay/ProductsExportToEbay.java webapp/ebay/find/productsExportToEbay.ftl

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

svn commit: r803436 - in /ofbiz/trunk/specialpurpose/ebay: config/EbayUiLabels.xml src/org/ofbiz/ebay/ProductsExportToEbay.java webapp/ebay/find/productsExportToEbay.ftl

jacopoc
Author: jacopoc
Date: Wed Aug 12 10:37:05 2009
New Revision: 803436

URL: http://svn.apache.org/viewvc?rev=803436&view=rev
Log:
Small fixes (but the codes will have to be improved) to make it a little easier to test the eBay interface.

Modified:
    ofbiz/trunk/specialpurpose/ebay/config/EbayUiLabels.xml
    ofbiz/trunk/specialpurpose/ebay/src/org/ofbiz/ebay/ProductsExportToEbay.java
    ofbiz/trunk/specialpurpose/ebay/webapp/ebay/find/productsExportToEbay.ftl

Modified: ofbiz/trunk/specialpurpose/ebay/config/EbayUiLabels.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ebay/config/EbayUiLabels.xml?rev=803436&r1=803435&r2=803436&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ebay/config/EbayUiLabels.xml (original)
+++ ofbiz/trunk/specialpurpose/ebay/config/EbayUiLabels.xml Wed Aug 12 10:37:05 2009
@@ -518,8 +518,8 @@
         <value xml:lang="th">พารามิเตอร์ไม่ถูกต้องในการเรียกหมวดหมู่อีเบย์</value>
         <value xml:lang="zh">获得eBay分类的参数不正确</value>
     </property>
-    <property key="productsExportToEbay.productItemsSentCorrecltyToEbay">
-        <value xml:lang="en">Product items sent correclty to eBay</value>
+    <property key="productsExportToEbay.productItemsSentToEbay">
+        <value xml:lang="en">Product items sent to eBay</value>
         <value xml:lang="fr">Les lignes d'articles ont été envoyées corectement à Ebay</value>
         <value xml:lang="it">Prodotti inviati correttamente su eBay</value>
         <value xml:lang="th">รายการสินค้าส่งอย่างถูกต้องถึงอีเบย์</value>

Modified: ofbiz/trunk/specialpurpose/ebay/src/org/ofbiz/ebay/ProductsExportToEbay.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ebay/src/org/ofbiz/ebay/ProductsExportToEbay.java?rev=803436&r1=803435&r2=803436&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ebay/src/org/ofbiz/ebay/ProductsExportToEbay.java (original)
+++ ofbiz/trunk/specialpurpose/ebay/src/org/ofbiz/ebay/ProductsExportToEbay.java Wed Aug 12 10:37:05 2009
@@ -100,7 +100,7 @@
             Debug.logError("Exception in exportToEbay " + e, module);
             return ServiceUtil.returnFailure(UtilProperties.getMessage(resource, "productsExportToEbay.exceptionInExportToEbay", locale));
         }
-        return ServiceUtil.returnSuccess(UtilProperties.getMessage(resource, "productsExportToEbay.productItemsSentCorrecltyToEbay", locale));
+        return ServiceUtil.returnSuccess(UtilProperties.getMessage(resource, "productsExportToEbay.productItemsSentToEbay", locale));
     }
 
     private static void appendRequesterCredentials(Element elem, Document doc, String token) {
@@ -199,7 +199,7 @@
                     UtilXml.addChildElementValue(itemElem, "Description", description, itemDocument);
                     UtilXml.addChildElementValue(itemElem, "ListingDuration", (String)context.get("listingDuration"), itemDocument);
                     UtilXml.addChildElementValue(itemElem, "Quantity", qnt, itemDocument);
-                    UtilXml.addChildElementValue(itemElem, "UseTaxTable", "true", itemDocument);
+                    UtilXml.addChildElementValue(itemElem, "UseTaxTable", "false", itemDocument);
 
                     setPaymentMethodAccepted(itemDocument, itemElem, context);
 

Modified: ofbiz/trunk/specialpurpose/ebay/webapp/ebay/find/productsExportToEbay.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ebay/webapp/ebay/find/productsExportToEbay.ftl?rev=803436&r1=803435&r2=803436&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ebay/webapp/ebay/find/productsExportToEbay.ftl (original)
+++ ofbiz/trunk/specialpurpose/ebay/webapp/ebay/find/productsExportToEbay.ftl Wed Aug 12 10:37:05 2009
@@ -28,6 +28,7 @@
              document.forms["ProductsExportToEbay"].submitButton.disabled = false;
          } else {
              document.forms["ProductsExportToEbay"].submitButton.disabled = true;
+             document.forms["ProductsExportToEbay"].submitButton.value = "Please select a category";
          }
     }
 </script>