Commit Graph
56 Commits
Author SHA1 Message Date
Jacques Le Roux 79e70957d3 A patch from Arun Patidar "Some misc issues in ebay component." (https://issues.apache.org/jira/browse/OFBIZ-4118) - OFBIZ-4118
JS is blocking during Export Product to ebay from ebay component.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1060236 13f79535-47bb-0310-9956-ffa450edef68
2011-01-18 08:28:58 +00:00
Jacques Le Roux ba42a2a674 Since anyway we rely on a form name in renderLookupField, I changed the way Sascha fixed OFBIZ-4068 (see r1056701)
Two reasons to this: 
# we are not sure the descriptionFieldName is alwayd of the form formName_descriptionFieldName
# anyway we need a form name for call_fieldlookup3 and call_fieldlookup2 just above in htmlFormMacroLibrary.ftl. 

While at it, I also removed all question marks in ${uiLabelMap.ProductIncludeSubCategories}? occurrences, it's already in the labels

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1056731 13f79535-47bb-0310-9956-ffa450edef68
2011-01-08 16:30:15 +00:00
Jacques Le Roux c008c6ccb3 Merges the jQuery branch back to the trunk
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1044503 13f79535-47bb-0310-9956-ffa450edef68
2010-12-10 20:40:08 +00:00
Adam Heath 4447acce3e Fix several final newline problems, in files I will be changing in the
near future.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1044226 13f79535-47bb-0310-9956-ffa450edef68
2010-12-10 07:20:05 +00:00
Adam Heath 5b3b7e0c99 Finally created a script to find and fix tons of missing final newlines.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@982870 13f79535-47bb-0310-9956-ffa450edef68
2010-08-06 04:46:48 +00:00
Jacques Le Roux e263a69b74 A patch from BJ Freeman "complete web.xml for error reporting" (https://issues.apache.org/jira/browse/OFBIZ-3820) - OFBIZ-3820
BJ: when there is an error, the control servlet looks for an error path in <param-name>allowedPaths</param-name>
it does not find one throwing an exception which buries the orginal error.
instead of changing the code it is just easier to add the /error: path.
then the real error gets reported correctly.

JLR: This will maybe help to better understand some errors on demo servers, and can't hurt

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@954135 13f79535-47bb-0310-9956-ffa450edef68
2010-06-12 20:47:08 +00:00
Bruno Busco 05c2bcc78b A patch from Blas Rodriguez Somoza
OFBIZ-3733 - XHTML validation errors round 2+ (specialpurpose/ebay)
https://issues.apache.org/jira/browse/OFBIZ-3733
productsExportToEbay.ftl
attributes without values

ebayApiKeywordSearch.ftl
attributes without values

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@939796 13f79535-47bb-0310-9956-ffa450edef68
2010-04-30 19:48:54 +00:00
Bruno Busco f0ab5bc237 A patch from Blas Rodriguez Somoza
OFBIZ-3680 - XHTML validation errors round 2 (specialpurpose/ebay)
https://issues.apache.org/jira/browse/OFBIZ-3680

XHTML validation errors

    * Unclosed tags
    * attributes without values (checked, selected, disabled, etc)
    * attribute values without "
    * Uppercase tags or attributes.
    * Unencoded ampersands in urls.




git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@934193 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 20:52:00 +00:00
Bruno Busco 18bb689f37 A patch from Blas Rodriguez Somoza
OFBIZ-3613 - XHTML validation errors (specialpurpose_ebay)
https://issues.apache.org/jira/browse/OFBIZ-3613

XHTML validation errors

    * Unclosed INPUT
    * attributes without values (checked, selected, disabled, etc)
    * attribute values without "
    * Uppercase tags or attributes.
    * Unencoded ampersands in urls.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@932725 13f79535-47bb-0310-9956-ffa450edef68
2010-04-10 14:09:54 +00:00
Jacques Le Roux 14bf0f757c Closes "Using Widgets html form templates in FTL files" (https://issues.apache.org/jira/browse/OFBIZ-3541) - OFBIZ-3541
This concerns the lookups which are now rendered the same in ftl files and widget forms

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@931854 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 10:19:38 +00:00
Adam Heath 62ede2cc16 Fix lots of bad xhtml tags, need to have a space before the ending /.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@923545 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 01:56:41 +00:00
Hans Bakker d76589e46a ebaystore update:
- add button to save listing xml data  when export to ebay and we will use this xml data for function auto relist (For function relist we will patch again next week becuase It not finnish yet now.)
- changed shipping options to selectbox
- item themes and descriptions in create listing screen
- add button to verify listing before export.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@923223 13f79535-47bb-0310-9956-ffa450edef68
2010-03-15 13:44:53 +00:00
Hans Bakker 5793183ff1 reverting all changes starting with r900298 in the ebay component, new java api functions have been moved to the new ebaystore special purpose component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@906372 13f79535-47bb-0310-9956-ffa450edef68
2010-02-04 05:43:04 +00:00
Hans Bakker 96eb4b05ae move the java api functions from the existing ebay component to the new ebaystore component: no functional changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@905876 13f79535-47bb-0310-9956-ffa450edef68
2010-02-03 03:16:07 +00:00
Hans Bakker 7e69a80ddc Ebay API inventory functions
- function to reserve product in ofbiz inventory when posted on Ebay
- function  load products and quantity  to ebay store inventory
- Add new EnumerationType call EBAY_INV_RESERVE for reserve product from inventory  
- help screens.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@904006 13f79535-47bb-0310-9956-ffa450edef68
2010-01-28 09:13:30 +00:00
Hans Bakker f5da012eed Ebay component: add block out of stock function, screen, helpscreen
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@903051 13f79535-47bb-0310-9956-ffa450edef68
2010-01-26 02:23:09 +00:00
Hans Bakker 931f0ee354 function leave feedback and screen
- function auto relist item and screen
- Get  feedback data from ebay site and save into ofbiz.
- Add rate pictures into framework/images/webapp/images
- screen for show awaiting feedback and recent feedback from buyer
- help screens are provided

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@902716 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 06:26:23 +00:00
Hans Bakker 25321f55e0 add ebay store maintenance screens:
- function  Add ofbiz categories in ofbiz store to eBay categories also add new items in every categories to eBay categories.
- Add field 'apiServerUrl' to EbayConfig entity   and add ebay sdk lib to ebay component.
- function load data ebay store setting (basic information,theme etc.) from ebaystore
- function create new account for add your ebay account which is already registered on ebay site (using for access to your ebay store)
- Screen for show your ebay profile
- help files for  ebay store functions
using the Ebay api

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@900410 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18 14:36:16 +00:00
Hans Bakker 2adfcc6ec1 reverting 900298: wrong version of files, correction will follow, sorry for the inconveniance
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@900321 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18 09:58:26 +00:00
Hans Bakker 2cf6584b77 add a storemaintenance option to the ebay component using the Ebay Api
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@900298 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18 08:22:00 +00:00
Ashish Vijaywargiya 899afdcbb8 Patch from Parimal Gain (Thanks!). Couple of enhancements are done in it.
-- Error or Success message was not displaying for buziness time theme. Fixed this issue.
-- In case low ATP proper error message was not coming for any product while importing order to the system. It was redirecting the blank page with one line message, that was not verbose enough. Improved error message for this.
-- The leaf category id will be provided in category data so that ebay export works fine.(See the numeric value provided in ProductCategory record).

OFBiz jira is not responding at my end since last 2 hours so committing this patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@884869 13f79535-47bb-0310-9956-ffa450edef68
2009-11-27 13:32:01 +00:00
Ashish Vijaywargiya 16ea6e1e03 Applied patch from jira issue OFBIZ-3184 - Improvement in Ebay Configuration.
Implemented following points:
1) Created decorator for Ebay Configuration screens
2) Modified list and add Ebay configuration Form
3) Created Find Form
4) Crated menu and sub menu
5) Created Edit Ebay Configuration Screen
6) Modified Ebay Configuration screen with name FindEbayConfiguration

Thanks Parimal for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@835306 13f79535-47bb-0310-9956-ffa450edef68
2009-11-12 09:00:36 +00:00
Ashish Vijaywargiya d318ef345c Applied patch from jira issue OFBIZ-3149 - Improve Category association in eBay.
Recently multi store support for Ebay has been implemented. For the multi store support we need ProductStore > ProdCatalog > ProductCategory association. For EBay we define specific categories of type EBAY_CATEGORY, only those products that are associated to an EBay category are eligible for eBay export. In the current implementation there is no proper prodCatalogCategoryTypeId which can be used to associate eBay category to ProdCatalog, one way to associate an eBay category to ProdCatalog is as a PCCT_BROWSE_ROOT category, thus we have two categories associated to the catalog as BROWSE_ROOT, the other one is for online store. Technically, this is wrong, a catalog should be associated with only one browse root category. Due to this wrong association the eBay category doesn't show up on the advance search page of EBAY webapp, instead online store's browse root category is shown which may also contain those products which are not meant to be exported to eBay. So this category associations need to be fixed, and following is how this can be resolved:

   1. Create a new ProdCatalogCatagoryType PCCT_EBAY_ROOT
   2. Define a worker method in CatalogWorker to derive the top level (root) ebay category
   3. Now in the advance search form, first look for top level ebay category associated to the selected catalog
          * If found, derive sub category list of the top level ebay category and display, else display the top level ebay category itself
          * If not found, derive the top level browse root category (PCCT_BROWSE_ROOT) and display the sub category list for it

Thanks Parimal Gain for the contribution.
Special thanks to Mridul Pathak (Zone of Sharp Mind :-)) for discussing implementation plans & providing wonderful notes.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@832713 13f79535-47bb-0310-9956-ffa450edef68
2009-11-04 12:05:09 +00:00
Ashish Vijaywargiya 96bc11000f Applied patch from jira issue - OFBIZ-3137 - Show the values of form fields updated on change of website for Export to eBay form.
The form fields are not showing updated on change of website. Whenever websiteId changed update form fields by the filled value so that user not need to fill it again.

Thanks Parimal for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@832336 13f79535-47bb-0310-9956-ffa450edef68
2009-11-03 08:14:20 +00:00
Ashish Vijaywargiya 4726c94d5d Applied patch from jira issue OFBIZ-3132 - Multiple productStore support to googleBase and eBay.
Changes includes following:
1) Created new search form for eBay and GoogleBase - It was not good to update *advancesearch*.ftl file present inside catalog component. Now it will be easy to maintain separate file for future deployments.
2) Restricted productStoreId and prodCatalogId field to search.
3) Added webSite drop-down on "Export to eBay" and "Export to GoogleBase" page.
4) Select webSite to get the webSiteUrl. 

Thanks Parimal for your contribution - this will surely help the community.
Special thanks to Mridul, Rishi, Chirag, Deepak & Me :-) for discussing requirement and also special thanks to Jacopo for the notes and discussion on requirements.
 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@831534 13f79535-47bb-0310-9956-ffa450edef68
2009-10-31 12:01:52 +00:00
Jacopo Cappellato d96b392c8c "hard" wrapping was causing xml validation errors because new lines were added on form submit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@822621 13f79535-47bb-0310-9956-ffa450edef68
2009-10-07 08:29:20 +00:00
Ashish Vijaywargiya 71055ed5bb Removed missing UiLabel - instead of that used the existing one.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@822597 13f79535-47bb-0310-9956-ffa450edef68
2009-10-07 05:53:30 +00:00
Ashish Vijaywargiya 55442c6552 Navigated OrderId link to OrderMgr component.
Also removed default values for productStoreId and webSiteUrl.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@818720 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 05:23:54 +00:00
Ashish Vijaywargiya bad66e362f This will allow to fetch eBay configuration values from database first and then from property file if not found.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@817206 13f79535-47bb-0310-9956-ffa450edef68
2009-09-21 11:06:28 +00:00
Ashish Vijaywargiya de6d88b04d Provided option to see the list of orders from eBay first and then CSR can import the required orders in the system.
Thanks a lot Mridul & Rishi for discussing the better way to handle this case.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@816148 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 11:31:48 +00:00
Ashish Vijaywargiya 288f32a9cc Here comes the GUI support for eBay Configurations (CRUD operation for EbayConfig entity).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@816060 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 05:43:32 +00:00
Ashish Vijaywargiya ddd3c3f931 Here comes the GUI support for eBay Shipping Methods (CRUD operation for EbayShippingMethod entity).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@815789 13f79535-47bb-0310-9956-ffa450edef68
2009-09-16 14:04:31 +00:00
Ashish Vijaywargiya 195ef08c9f Another pass on eBay Order Imports using GetOrders request.
Following things are done in this patch:

-- Moved commonly used methods to EbayHelper.java file.
-- Created two main methods "readGetOrdersResponse" & "createShoppingCart" to read xml data coming from Ebay and then create order in OFBiz respectively.
-- Also provided sample response XML data that is being generated from Ebay.
-- Changed the UI in which first it was searching orders and then from the orders list we were importing orders.
Now we have only one screen available in which search criteria for order is provided & on the basis of that search criteria order gets imported in OFBiz.
-- Previous work for importing Orders(Not exactly order - it was transaction) is working fine OOTB. 

Here are few things that I am thinking to do in this area soon:
-- Improve error handling code - code cleanup.
-- Provide scheduled service UI(or prepare demo data for scheduling job) in which the orders will be imported automatically in the system instead of searching and then importing done by end user. - Thinking the best way to handle it.

Thanks Rishi & Sumit for discussing few things/ issues in b/w the development of this pass.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@814560 13f79535-47bb-0310-9956-ffa450edef68
2009-09-14 10:18:43 +00:00
Ashish Vijaywargiya 76bdcd1f41 Initial pass on new call "GetOrders" (More to come in a day or so) - http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/GetOrders.html. OOTB we have "GetSellersTransactions" call implemented but we have observed something strange in its functionality.
Here are few reason for this implementation:
-- In "GetSellersTransactions" itemId(ProductId in ebay) is provided in the OrderHeader.externalId field which doesn't seems correct.
-- Suppose we have Single Order created in eBay if some one wins the auction and in that order we have 3 order items.
Then "GetSellersTransaction" call creates three orders in OFBiz for all those three items that are associated with Single Ebay order.
In short "GetSellersTransaction" request treat three item as three transactions.
-- "GetOrders" call will return the list of orders on the basis of search criteria and then we will create(Import) the Order in OFBiz from the resultant list of orders.
-- Current implementation for "GetSellersTransactions" will remain as it is in trunk - as we don't know if someone might be using it in their custom projects.

Also did miscellaneous cleanup.
Thanks Jacopo for providing your notes for this implementation & also discussing issues in b/w development - as always your notes were awesome.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@813444 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 13:58:33 +00:00
Ashish Vijaywargiya 30e1ec50aa Cleanup - Moved the screens definition to appropriate location.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@812948 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09 13:25:25 +00:00
Ashish Vijaywargiya be73e6ffa9 Now added customXml on the User Interface so that user can change the values passed from there.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@811652 13f79535-47bb-0310-9956-ffa450edef68
2009-09-05 14:19:23 +00:00
Ashish Vijaywargiya 5f6f733f26 Following things are done in this commit.
-- Moved eBay configuration settings to a new entity - EbayConfig. Property file configuration support also exists in current code.
-- Also prepared the demo data for this new entity.
-- For default webSiteUrl prepared demo data in WebSite entity so we can show default value on the form.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@811645 13f79535-47bb-0310-9956-ffa450edef68
2009-09-05 13:32:12 +00:00
Jacopo Cappellato 240becd956 A bunch of enhancements and cleanups for the eBay component; added ability to:
* export product images to eBay Action
* export a description based on content (a new product content type has been added for this purpose)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@809539 13f79535-47bb-0310-9956-ffa450edef68
2009-08-31 11:24:43 +00:00
Jacopo Cappellato 68eae4f5b0 Enhancements to the way eBay categories are set:
* improved ui to better handle manual selection of the ebay category
* added support for automatic export of category based on the ProductCategory set (for eBay) for the product


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@808972 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 17:59:39 +00:00
Jacopo Cappellato 021cc9e186 Better default values for export options for eBay auctions.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@808849 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 11:11:23 +00:00
Jacopo Cappellato 93fe1b7b4f Misc fixes to the ebay export features: there are still a lot of hardcoded values but at least now it is possible to publish something. Still a lot to do here.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@803518 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 14:01:48 +00:00
Jacopo Cappellato 48643ec357 Small fixes (but the codes will have to be improved) to make it a little easier to test the eBay interface.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@803436 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 10:37:05 +00:00
Jacopo Cappellato 033d84ed13 Added missing security element to request map.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@799871 13f79535-47bb-0310-9956-ffa450edef68
2009-08-01 14:33:29 +00:00
Jacopo Cappellato 91277a3d30 Fixed wrong field name for the quantity IN parameters for eBay product exports.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@798851 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 10:46:05 +00:00
Jacques Le Roux 97bb3073c9 2d part and end of an effort to remove trailing spaces
[ \t]+$ => "" (empty)
Should be easier to review when committing changes with trailing spaces removed automatically by anyedit or such tool (please refer to http://docs.ofbiz.org/x/mg)

Of course this effort to remove trailing spaces has no functional implications.

Actually, I was doing a 1st commit and as it's long to upload, I got conflicts with r763135
In the meantime I did some refactoring also in *.java and *.groovy files :
){ => ) {
if( => if (
while( => while (
}else => } else
else{ => else {
switch( => switch (
try{ => try {
}catch => } catch
catch( => catch (
}finally{ => } finally {

So these changes are also in this commit, should not be a problem anyway.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@763175 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 10:54:51 +00:00
Bruno Busco cde214ae99 Changed WebSiteId parameter description to be more general
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@751214 13f79535-47bb-0310-9956-ffa450edef68
2009-03-07 07:19:07 +00:00
Bruno Busco 55a2ae8011 Added webSiteId definition for every webapp.
This will be used to link online help pages to OFBiz screens.
The webSiteId will also be used to associate VisualThemeSets to webapps.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@744502 13f79535-47bb-0310-9956-ffa450edef68
2009-02-14 14:35:56 +00:00
Jacques Le Roux 59de161314 Fix from a Philip W. Dalrymple message on dev. ML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@698341 13f79535-47bb-0310-9956-ffa450edef68
2008-09-23 20:32:52 +00:00
Marco Risaliti 34ca71b88e 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
2008-08-11 05:49:47 +00:00
Adam Heath edf28807c4 Remove svn:executable on a bunch of stuff.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@684389 13f79535-47bb-0310-9956-ffa450edef68
2008-08-10 00:53:43 +00:00