From 34ca71b88eef7b7516efcda1215519b7fc69a66a Mon Sep 17 00:00:00 2001 From: Marco Risaliti Date: Mon, 11 Aug 2008 05:49:47 +0000 Subject: [PATCH] Same changes to eBay application after that some groovy files has been converted. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@684640 13f79535-47bb-0310-9956-ffa450edef68 --- ...ToEbay.bsh => ProductsExportToEbay.groovy} | 13 +++++------ ebay/widget/EbayScreens.xml | 22 +++++++++---------- 2 files changed, 16 insertions(+), 19 deletions(-) rename ebay/webapp/ebay/WEB-INF/actions/find/{productsExportToEbay.bsh => ProductsExportToEbay.groovy} (68%) diff --git a/ebay/webapp/ebay/WEB-INF/actions/find/productsExportToEbay.bsh b/ebay/webapp/ebay/WEB-INF/actions/find/ProductsExportToEbay.groovy similarity index 68% rename from ebay/webapp/ebay/WEB-INF/actions/find/productsExportToEbay.bsh rename to ebay/webapp/ebay/WEB-INF/actions/find/ProductsExportToEbay.groovy index 211df59b9..2d9c517b3 100644 --- a/ebay/webapp/ebay/WEB-INF/actions/find/productsExportToEbay.bsh +++ b/ebay/webapp/ebay/WEB-INF/actions/find/ProductsExportToEbay.groovy @@ -17,14 +17,11 @@ * under the License. */ -import org.ofbiz.base.util.*; -import javolution.util.FastList; +categoryCode = parameters.categoryCode; +userLogin = parameters.userLogin; -categoryCode = parameters.get("categoryCode"); -userLogin = parameters.get("userLogin"); +results = dispatcher.runSync("getEbayCategories", [categoryCode : categoryCode, userLogin : userLogin]); -results = dispatcher.runSync("getEbayCategories", UtilMisc.toMap("categoryCode", categoryCode, "userLogin", userLogin)); - -if (results.get("categories") != null) { - context.put("categories", results.get("categories")); +if (results.categories) { + context.categories = results.categories; } \ No newline at end of file diff --git a/ebay/widget/EbayScreens.xml b/ebay/widget/EbayScreens.xml index d2f9126c0..9bc8073a0 100644 --- a/ebay/widget/EbayScreens.xml +++ b/ebay/widget/EbayScreens.xml @@ -45,9 +45,9 @@ under the License. - + - + @@ -84,7 +84,7 @@ under the License. - + @@ -108,7 +108,7 @@ under the License. - + @@ -146,7 +146,7 @@ under the License. -