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> |
Free forum by Nabble | Edit this page |