Commit Graph
27737 Commits
Author SHA1 Message Date
Adrian Crum be4e05447a Removed a framework dependency on the Content component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1082016 13f79535-47bb-0310-9956-ffa450edef68
2011-03-16 00:46:40 +00:00
Adrian Crum 050ef03215 Partially revert a change made in rev 894330 - put multi-column screen elements back in the GlobalDecorator.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1082004 13f79535-47bb-0310-9956-ffa450edef68
2011-03-15 23:49:07 +00:00
Jacques Le Roux 9c22457c44 Revert partially r1076852 (only http://svn.apache.org/viewvc/ofbiz/trunk/framework/sql/src/org/ofbiz/sql/Planner.java?view=diff&r1=1076852&r2=1076853&pathrev=1076853)
This is preventing some java version to compile (So far at least 1.6.0_14 and 1.6.0_17 fail. It's ok with 1.6.0_23 and 1.6.0_24)

Marco mades this change recently in his warnings effort. But I don't see anything in Eclipse nor while building. So I'm reverting this trivial change



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1081912 13f79535-47bb-0310-9956-ffa450edef68
2011-03-15 19:19:22 +00:00
Erwan de Ferrieres f077d22e2d mime-type is now auto detected with Apache Tika when uploading a new file to a profile. I also had to change the mimeTypeId field to vlong, as there are now mimetypes with a length > 60 characters
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1081848 13f79535-47bb-0310-9956-ffa450edef68
2011-03-15 16:43:09 +00:00
Erwan de Ferrieres 3bc4920d1a Missing double quote
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1081820 13f79535-47bb-0310-9956-ffa450edef68
2011-03-15 15:39:34 +00:00
Jacques Le Roux 1806397b93 Update defaultValveFilter using http://tomcat.apache.org/tomcat-6.0-doc/config/cluster-valve.html as reference, with our own specificities (.*\.ico;.*\.htc;) even if I guess It's not a big deal. This is mostly a reference for future.
So adds.*\.png;.*\.css;.*\.ico;.*\.htc; 

I wonder though why "\" were not used previously, maybe an older version of Tomcat cluster-valve

Also update containers...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1081740 13f79535-47bb-0310-9956-ffa450edef68
2011-03-15 11:40:43 +00:00
Erwan de Ferrieres 9e320e4b70 Adding the ant sonar target. You need to have a sonar instance running to use it
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1081708 13f79535-47bb-0310-9956-ffa450edef68
2011-03-15 10:01:27 +00:00
Hans Bakker 87c0577bbc look like a re-activation of a past feature: multiple <web-apps with the same mount-point however with different <virtual-host host-name specs
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1081692 13f79535-47bb-0310-9956-ffa450edef68
2011-03-15 09:26:58 +00:00
Scott Gray 686033475f Added check for presence of the max-idle attribute before attempting to parse its value
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1081689 13f79535-47bb-0310-9956-ffa450edef68
2011-03-15 09:08:28 +00:00
Hans Bakker cb8794245a add tagging to googlebase on the url to allow google ananlytics to report on the source
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1081673 13f79535-47bb-0310-9956-ffa450edef68
2011-03-15 06:48:28 +00:00
Marco Risaliti 9fa9958ab1 Remove some unused variable/import warning in ProductsExportToGoogle
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1081531 13f79535-47bb-0310-9956-ffa450edef68
2011-03-14 19:33:20 +00:00
Marco Risaliti 07d39ef036 Remove some unused variable warning in ScaleImage
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1081526 13f79535-47bb-0310-9956-ffa450edef68
2011-03-14 19:30:41 +00:00
Marco Risaliti a0ea7452bc Revert rev. 1081093
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1081517 13f79535-47bb-0310-9956-ffa450edef68
2011-03-14 19:10:37 +00:00
Marco Risaliti 2450d5cd02 Revert rev. 1081099
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1081516 13f79535-47bb-0310-9956-ffa450edef68
2011-03-14 19:10:12 +00:00
Ashish Vijaywargiya 76b41ad601 Bug fix. hyperlink field type on form field was not able to put "," (separator ) on csv files. Thanks Amit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1081496 13f79535-47bb-0310-9956-ffa450edef68
2011-03-14 18:07:37 +00:00
Erwan de Ferrieres 1a6323cb3a Corrected a bug due to millis with the input mask, optimizing the jQuery writing for the mask
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1081444 13f79535-47bb-0310-9956-ffa450edef68
2011-03-14 16:23:34 +00:00
Erwan de Ferrieres 299a5eccca Adding input mask for the text fields. You have to create them yourself with mask in the text element
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1081436 13f79535-47bb-0310-9956-ffa450edef68
2011-03-14 16:12:01 +00:00
Erwan de Ferrieres d7ad06b90c Adding a masked input capability to the date fields, use mask=Y and the field type will be taken for it. jQuery pPlugin is from http://digitalbush.com/projects/masked-input-plugin/ and under a MIT license
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1081333 13f79535-47bb-0310-9956-ffa450edef68
2011-03-14 11:15:24 +00:00
Erwan de Ferrieres f35561fab7 Removing trailing spaces, no functional changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1081317 13f79535-47bb-0310-9956-ffa450edef68
2011-03-14 10:33:27 +00:00
Hans Bakker 474a343957 patch to scale main image product content and additional image product content: a contribution by Eric de Maulde: https://issues.apache.org/jira/browse/OFBIZ-4212
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1081272 13f79535-47bb-0310-9956-ffa450edef68
2011-03-14 07:16:36 +00:00
Hans Bakker 83c928ef6c add some optional googlebase search parameters:
ACTIVE_PRODUCT : 'Active Product' is the product which is active in OFBiz, not in Google Base. There use thruDate field to check what is active or not.
GOOGLE_SYNCED : 'Product not currently synced with Google Base' is the product which hasn't exported to Google Base yet.
DISCONTINUED_PRODUCT :  'Exclude sending discontinued product and stock is zero' box, the search result will only has the product which is not discontinued and is available in stock.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1081271 13f79535-47bb-0310-9956-ffa450edef68
2011-03-14 07:10:02 +00:00
Hans Bakker 12fac5ed27 • Fix any errors on GoogleBaseSearchEvents.java and ProductsExportToGoogle.java file.
• Edit productsExportToGoogle form to constrain the country code that getting it from defaultLocaleString field of ProductStore entity (before it was a combobox that select by user).
• Add the new type of GoodIdentificationType entity that relate to Google Base Id including GOOGLE_ID_en_US, GOOGLE_ID_en_GB, GOOGLE_ID_de for identify each productStore with its language.
• Add the Google Base Auto Update function.
• Add the new filter of GoogleBaseAdvanceSearch including ACTIVE_PRODUCT, GOOGLE_SYNCED and DISCONTINUED_PRODUCT.
• Add allowRecommended option for add the recommended attribute to Google Base such as QUANTITY, COLOR,  YEAR_MADE etc.
• Add the Google Base help.
A contribution of Antwebsystems employees M and Ton2

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1081270 13f79535-47bb-0310-9956-ffa450edef68
2011-03-14 06:59:16 +00:00
Vikas Mayur 544713a074 Bug fix - The system should display the Edit screen when user sucessfully add a new price rule.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1081268 13f79535-47bb-0310-9956-ffa450edef68
2011-03-14 06:38:42 +00:00
David E. Jones f594b6e11c Fixed bug causing promotions with text condValues to blow up, causing other promos to also not run
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1081185 13f79535-47bb-0310-9956-ffa450edef68
2011-03-13 18:28:41 +00:00
Adrian Crum 4239a7db7c Removed an unnecessary service call from the ApplicationDecorator.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1081154 13f79535-47bb-0310-9956-ffa450edef68
2011-03-13 17:05:30 +00:00
Jacques Le Roux 1d9b768b5a Add -Xlint:-path to javac16 target
Closes "Add <compilerarg value="-Xlint"/> to all build targets" (https://issues.apache.org/jira/browse/OFBIZ-4213) - OFBIZ-4213
+ slight formatting in start build

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1081138 13f79535-47bb-0310-9956-ffa450edef68
2011-03-13 15:25:37 +00:00
Marco Risaliti d22d6e92cf Remove some warning in testtools component (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1081103 13f79535-47bb-0310-9956-ffa450edef68
2011-03-13 12:49:04 +00:00
Marco Risaliti a5e7976c4e Remove a warning in WebPosEvents (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1081101 13f79535-47bb-0310-9956-ffa450edef68
2011-03-13 12:46:32 +00:00
Marco Risaliti 240adf846c Remove some warning in pos component (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1081099 13f79535-47bb-0310-9956-ffa450edef68
2011-03-13 12:43:16 +00:00
Marco Risaliti 57960fbb01 Remove some warning in sevice component (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1081093 13f79535-47bb-0310-9956-ffa450edef68
2011-03-13 12:31:03 +00:00
Marco Risaliti 4930c122a2 Remove some warning in webpos component (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1081089 13f79535-47bb-0310-9956-ffa450edef68
2011-03-13 12:12:18 +00:00
Marco Risaliti b01b1df7ea Remove some reduntant cast warning in crowd component (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1081088 13f79535-47bb-0310-9956-ffa450edef68
2011-03-13 12:09:49 +00:00
Marco Risaliti be9a09ad75 Remove some reduntant cast warning in ebaystore component (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1081080 13f79535-47bb-0310-9956-ffa450edef68
2011-03-13 11:39:36 +00:00
Marco Risaliti 0eba26b761 Remove some reduntant cast warning in ebay component (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1081078 13f79535-47bb-0310-9956-ffa450edef68
2011-03-13 11:36:21 +00:00
Marco Risaliti 0e6846a7de Remove some reduntant cast warning in accounting component (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1081075 13f79535-47bb-0310-9956-ffa450edef68
2011-03-13 11:09:38 +00:00
Marco Risaliti 51eed28e62 Remove some reduntant cast warning in MrpServices/ProposedOrder/TechDataServices (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1081074 13f79535-47bb-0310-9956-ffa450edef68
2011-03-13 10:59:52 +00:00
Marco Risaliti 09264b8cd8 Remove some reduntant cast warning in manufacturing component (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1081073 13f79535-47bb-0310-9956-ffa450edef68
2011-03-13 10:55:49 +00:00
Marco Risaliti 51a2e77b9e Remove some reduntant cast warning in product component part 2 (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1081071 13f79535-47bb-0310-9956-ffa450edef68
2011-03-13 10:35:11 +00:00
Marco Risaliti 9e39f3b3c4 Remove some reduntant cast warning in product component (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1081070 13f79535-47bb-0310-9956-ffa450edef68
2011-03-13 10:26:01 +00:00
Marco Risaliti c3122a1d00 Remove some reduntant cast warning in CompDocServices/LayoutWorker (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1081069 13f79535-47bb-0310-9956-ffa450edef68
2011-03-13 10:08:56 +00:00
Marco Risaliti 3e17984097 Remove some reduntant cast warning in product component (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1081068 13f79535-47bb-0310-9956-ffa450edef68
2011-03-13 10:05:36 +00:00
Marco Risaliti 2a659162c8 Remove some reduntant cast warning in content component (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1081066 13f79535-47bb-0310-9956-ffa450edef68
2011-03-13 09:53:29 +00:00
Marco Risaliti d0953abc06 Remove a reduntant cast warning in PreferenceServices (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1081065 13f79535-47bb-0310-9956-ffa450edef68
2011-03-13 09:31:40 +00:00
Marco Risaliti 90f618e6fb Remove some reduntant cast warning in ProtectViewWorker/RequestHandler (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1081064 13f79535-47bb-0310-9956-ffa450edef68
2011-03-13 09:29:32 +00:00
Jacques Le Roux 65b9bc076a Forgot this in r1081020 (I was too fast when I commented out webpos. I know now some persons are using it.)
Still an issue in Login.ftl, will see that later...

 [java] Expression posTerminals is undefined on line 55, column 24 in component://webpos/webapp/webpos/Login.ftl.
 [java] The problematic instruction:
 [java] ----------
 [java] ==> list posTerminals as posTerminal [on line 55, column 17 in component://webpos/webapp/webpos/Login.ftl]



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1081022 13f79535-47bb-0310-9956-ffa450edef68
2011-03-13 00:29:01 +00:00
Jacques Le Roux b43d957dc2 I was too fast when I commented out webpos. I know now some persons are using it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1081020 13f79535-47bb-0310-9956-ffa450edef68
2011-03-13 00:01:11 +00:00
Jacques Le Roux 767adbde70 Add export=true to findProductById at Mansour's demand
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1080960 13f79535-47bb-0310-9956-ffa450edef68
2011-03-12 18:20:34 +00:00
Jacques Le Roux 7734ef02ce Closes "findProductById is not available" (https://issues.apache.org/jira/browse/OFBIZ-4210) OFBIZ-4210
The function "findProductById" is not available. The issue is in the services.xml for the product component.
Currently it has:

    * <service name="findProductsById" engine="java" auth="true"
    * location="org.ofbiz.product.ProductServices" invoke="findProductByGoodIdentification">
    * <description>Find the productId corresponding to a reference and a reference type</description>
    * <attribute type="String" mode="IN" name="idToFind" optional="false"/>
    * <attribute type="String" mode="IN" name="goodIdentificationTypeId" optional="true"/>
    * <attribute type="String" mode="IN" name="searchProductFirst" optional="true"/>
    * <attribute type="String" mode="IN" name="searchAllId" optional="true"/>
    * <attribute type="org.ofbiz.entity.GenericValue" mode="OUT" name="product" optional="true"/>
    * <attribute type="List" mode="OUT" name="productsFound" optional="true"/>
    * </service>

The service name should be "findProductById", without "s".
The invoke should be "findProductById" instead of "findProductByGoodIdentification"
The Location should be location="org.ofbiz.product.product.ProductServices"
Finally the return type of the service should have "productsList" and not "productsFound".

JLR:I have also modified the description using the one from the Java method

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1080959 13f79535-47bb-0310-9956-ffa450edef68
2011-03-12 18:15:21 +00:00
Joseph Eckard 88df9ac6b4 fixed copy/paste error; resultUpdate was not being checked
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1080776 13f79535-47bb-0310-9956-ffa450edef68
2011-03-11 21:57:48 +00:00
Erwan de Ferrieres 56dd7e265b paginateAnchor should be tested for emptyness and not for null
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1080563 13f79535-47bb-0310-9956-ffa450edef68
2011-03-11 13:14:42 +00:00