Commit Graph
531 Commits
Author SHA1 Message Date
David E. Jones 4492f49c6a Applied patch from Tim Ruppert with some additional unit conversions; Jira #OFBIZ-417
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@469615 13f79535-47bb-0310-9956-ffa450edef68
2006-10-31 19:27:09 +00:00
Jacopo Cappellato d5a96e45f4 Following David Jones's suggestions in OFBIZ-364, I've added a new attribute to the "form" element:
override-list-size
It can be used to pass a custom list size (differnt from the actual list size) that can be useful for pagination purposes under some circumstances.
The attribute can accept the ${} notation.


git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@469408 13f79535-47bb-0310-9956-ffa450edef68
2006-10-31 08:14:14 +00:00
Si Chen f5874860f3 Fix bug in sequence value utility where it is actually using Integer instead of Long, so very large sequence values cannot be generated
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@469283 13f79535-47bb-0310-9956-ffa450edef68
2006-10-30 21:47:28 +00:00
David E. Jones 8e3435a39a The results of some playing to see what sort of thread info we can get from the JVM, and in Java5 it's pretty good; this contains conditional scripted elements that use Java5, but should work fine and just not run those on 1.4
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@469251 13f79535-47bb-0310-9956-ffa450edef68
2006-10-30 19:40:34 +00:00
David E. Jones 1fdf6fb1f1 Disabled the shark component by default, based on a couple of discussions on the dev mailing list
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@469084 13f79535-47bb-0310-9956-ffa450edef68
2006-10-30 07:57:21 +00:00
David E. Jones 9fdfbdb649 Implemented a service that calls a CDyne service to get info for a zipcode; also added a service that can be triggered with an SECA (commented out example in the secas_cdyne.xml file) that will call this when a PostalAddress is created or updated and fill in the countyGeoId if a county exists in the database that matches it; also added a couple of Utah counties in the seed data to test this
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@469049 13f79535-47bb-0310-9956-ffa450edef68
2006-10-30 02:49:35 +00:00
David E. Jones 9a50907566 Added option to condition-expr to ignore-case, makes things lots easier when you need something like that
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@469046 13f79535-47bb-0310-9956-ffa450edef68
2006-10-30 02:45:34 +00:00
David E. Jones 86634c3cbe Small change to allow seca files without any rules in them
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@469030 13f79535-47bb-0310-9956-ffa450edef68
2006-10-30 00:18:50 +00:00
David E. Jones beea25ea9e Fixed problem caused by updating and then reverting the BSF library, should now compile and such
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@468954 13f79535-47bb-0310-9956-ffa450edef68
2006-10-29 18:59:12 +00:00
Jacques Le Roux a309b22b29 Forgot to revert java files to IBM bsf (com.ibm.bsf)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@468683 13f79535-47bb-0310-9956-ffa450edef68
2006-10-28 12:19:52 +00:00
Jacques Le Roux 889d1579ea Revert patch from Adam Heath "Upgrade bsf to something a bit more modern" (https://issues.apache.org/jira/browse/OFBIZ-401) to IBM version because of a problem found by Jacopo (please see Jira issue)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@468667 13f79535-47bb-0310-9956-ffa450edef68
2006-10-28 10:07:08 +00:00
Jacopo Cappellato 137d158236 Cleaned up a few more author information from source files: thanks to Marco Risaliti for the patch (OFBIZ-410).
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@468371 13f79535-47bb-0310-9956-ffa450edef68
2006-10-27 13:24:29 +00:00
Jacopo Cappellato a1449f7789 Fixed NPE when a wrong service name was used in the schedule job screen.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@467712 13f79535-47bb-0310-9956-ffa450edef68
2006-10-25 17:08:37 +00:00
David E. Jones d4c8b76d54 Updated Xerces to version 2.8.1; added a suffix to the jar files to help keep track of this; in testing it seems to work fine
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@467373 13f79535-47bb-0310-9956-ffa450edef68
2006-10-24 16:25:58 +00:00
Jacques Le Roux 080680236a A patch from Adam Heath "Upgrade bsf to something a bit more modern" (https://issues.apache.org/jira/browse/OFBIZ-401)
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@467304 13f79535-47bb-0310-9956-ffa450edef68
2006-10-24 10:58:36 +00:00
Jacopo Cappellato 2235002fa0 Improved the xsl-fo common template for document based reports.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@466630 13f79535-47bb-0310-9956-ffa450edef68
2006-10-22 06:56:21 +00:00
Jacopo Cappellato e4db7b26ad Improved the simple xsl-fo common template for list based report.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@466629 13f79535-47bb-0310-9956-ffa450edef68
2006-10-22 06:38:07 +00:00
Jacopo Cappellato aa106bb4b4 converted deprecated minilang operations to the set operation.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@466421 13f79535-47bb-0310-9956-ffa450edef68
2006-10-21 16:20:54 +00:00
Jacopo Cappellato cb06b87de8 converted deprecated minilang operations to the set operation.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@466420 13f79535-47bb-0310-9956-ffa450edef68
2006-10-21 16:19:14 +00:00
Jacques Le Roux 07e943f1ef At beginning a patch from Bilgin Ibryam slightly modified by Jacopo.
But actually that was not solving the problem exposed in "Wrong week numbers in the fixed asset calendar" (https://issues.apache.org/jira/browse/OFBIZ-392)
To fix it I added some locale settings in month.ftl .
I'm not quite sure why these should be "en". But I'm sure it works with it and don't without. 
I assume it's because we calculate date values before in this locale (set from command line).
It seems that it's the same type of problem that the one who arises and forced us to put -Duser.language=en in command line some times ago.



git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@466364 13f79535-47bb-0310-9956-ffa450edef68
2006-10-21 08:34:23 +00:00
Jacopo Cappellato afe8221564 New lables from Marco Risaliti (OFBIZ-398) and a new license header that was missing.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@466346 13f79535-47bb-0310-9956-ffa450edef68
2006-10-21 05:58:20 +00:00
Jacopo Cappellato 2b032a9e1f Big i18n patch from Marco Risaliti.
OFBIZ-393


git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@466018 13f79535-47bb-0310-9956-ffa450edef68
2006-10-20 07:16:54 +00:00
David E. Jones c8e57799cc Appled patch from Bilgin Ibryam to fix missing controller entries for setSessionLocale; ASF Jira #OFBIZ-390
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@465669 13f79535-47bb-0310-9956-ffa450edef68
2006-10-19 16:10:54 +00:00
David E. Jones af97222863 Made change similar to that suggested by Ray Barlow in ASF Jira #OFBIZ-387, just used a more direct way of getting and displaying the entity name and field name
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@465622 13f79535-47bb-0310-9956-ffa450edef68
2006-10-19 13:35:58 +00:00
Jacques Le Roux 18063c00c2 This commit add filters on Inventory Problems and Authorization Problems in Order List Screen and filter on Inventory Problems in Find order screen
Inventory Problems are:
1. Partially Received POs
2. POs open past their ETA
3. POs with rejected items

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@465360 13f79535-47bb-0310-9956-ffa450edef68
2006-10-18 20:16:25 +00:00
Jacopo Cappellato 2183320453 Added ability to pass (in the context) to a form (widget) a new parameter "overrideFormListSize" that can be used to specify the total size of a list (that could be different from the list passed to the form):
this is very useful when pagination is handled manually in scripts.
Thanks to Leon Torres for this patch (that I've slightly modified during review): OFBIZ-364.


git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@465282 13f79535-47bb-0310-9956-ffa450edef68
2006-10-18 16:01:20 +00:00
David E. Jones 0c4d064e99 Removed the definitions of the operations that have been deprecated for a while now; these will still work, but we'll get errors/warnings about them when running and when editing the files, making them easier and faster to spot and eliminate; this step is part of the more general pre-release cleanup effort
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@464904 13f79535-47bb-0310-9956-ffa450edef68
2006-10-17 11:25:15 +00:00
Jacopo Cappellato a9d0360b8d Removed old region definition.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@464868 13f79535-47bb-0310-9956-ffa450edef68
2006-10-17 09:13:21 +00:00
Jacopo Cappellato c51a0b9f08 Converted all the service related "region" pages to screen widget.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@464866 13f79535-47bb-0310-9956-ffa450edef68
2006-10-17 09:07:12 +00:00
Jacopo Cappellato 9cd7cd94a0 Fixed event type returned by the scheduleJob event after a succesful schedule from _EVENT_ERROR_ to _EVENT_MESSAGE_
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@464865 13f79535-47bb-0310-9956-ffa450edef68
2006-10-17 09:03:18 +00:00
Jacopo Cappellato 57fc3e2c1e Removed old region definition.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@464681 13f79535-47bb-0310-9956-ffa450edef68
2006-10-16 21:38:04 +00:00
Jacopo Cappellato dda66dbfae Removed old region definition.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@464679 13f79535-47bb-0310-9956-ffa450edef68
2006-10-16 21:36:21 +00:00
Jacopo Cappellato a7c3764b60 Converted three of the service related "region" pages to screen widget.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@464678 13f79535-47bb-0310-9956-ffa450edef68
2006-10-16 21:33:00 +00:00
David E. Jones 14908cff1e A small change to put a session variable in the environment for simple methods called as an event
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@464510 13f79535-47bb-0310-9956-ffa450edef68
2006-10-16 14:57:07 +00:00
Jacques Le Roux 20bab3b649 ASL2 header was missing
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@464426 13f79535-47bb-0310-9956-ffa450edef68
2006-10-16 09:23:19 +00:00
Jacques Le Roux c4119f0cc4 This commit solves https://issues.apache.org/jira/browse/OFBIZ-210 (png transparency in IE < 7)
Thanks to Chris Howe for his help

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@464419 13f79535-47bb-0310-9956-ffa450edef68
2006-10-16 09:00:36 +00:00
Jacopo Cappellato 09b152ed68 Applied patch from Ashish Vijaywargiya (OFBIZ-378) that fixes the searches done thru the performFind services.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@464219 13f79535-47bb-0310-9956-ffa450edef68
2006-10-15 16:09:56 +00:00
Jacopo Cappellato 1174de024e Added Jakarta Commons Validator jar, version 1.3.0.
This will be soon used for its enhanced date comparison features.
It is licensed under the ASL2.0 (no NOTICES are due) and I've also added the file to the list of included jars.
OFBIZ-374.


git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@463915 13f79535-47bb-0310-9956-ffa450edef68
2006-10-14 11:20:35 +00:00
Jacopo Cappellato 8da346ed74 Maybe it's not strictly necessary, but I think it's however fine to add the license headers to these files too.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@463908 13f79535-47bb-0310-9956-ffa450edef68
2006-10-14 10:13:25 +00:00
Jacopo Cappellato bf0711f3c8 Maybe it's not strictly necessary, but I think it's however fine to add the license headers to these files too (mostly text files).
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@463907 13f79535-47bb-0310-9956-ffa450edef68
2006-10-14 10:01:06 +00:00
Jacopo Cappellato 7027cebbb9 Added license header.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@463903 13f79535-47bb-0310-9956-ffa450edef68
2006-10-14 09:15:20 +00:00
Jacopo Cappellato 02156a5e19 Removed a few empty or unused files and added license header to a few files still without it (found running the aRAT tools from Robert Burrel Donkin).
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@463896 13f79535-47bb-0310-9956-ffa450edef68
2006-10-14 07:36:15 +00:00
Hans Bakker b140cfce86 fix of a fault introduced in 463574
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@463893 13f79535-47bb-0310-9956-ffa450edef68
2006-10-14 06:05:09 +00:00
Hans Bakker 7913250108 make xml headers refer for the xsd to the ofbiz site
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@463887 13f79535-47bb-0310-9956-ffa450edef68
2006-10-14 02:48:35 +00:00
David E. Jones ab9962b6a8 I don't know why we were using .iterator().next(); for this, it's rather inefficient to create the iterator object to just get the first element when we can call get(0) just fine, especially when we are checking the size in each case beforehand; so, this is more efficient
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@463812 13f79535-47bb-0310-9956-ffa450edef68
2006-10-13 20:32:37 +00:00
David E. Jones c1cf6a9c81 Updated Derby to version 10.2.1.6, seems to be working fine, even with data files created with earlier versions
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@463660 13f79535-47bb-0310-9956-ffa450edef68
2006-10-13 12:15:42 +00:00
David E. Jones a895536c39 Updated Tomcat/Catalina to version 5.5.20
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@463657 13f79535-47bb-0310-9956-ffa450edef68
2006-10-13 12:00:01 +00:00
Hans Bakker eaacd2817c in the findservices add an optional timestamp filterByDateValue for the filterByDate function
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@463574 13f79535-47bb-0310-9956-ffa450edef68
2006-10-13 06:47:16 +00:00
Jacopo Cappellato 4adf782115 Added new currencyFormat method that accepts as input the maximum number of fraction digits: if the value is >= 0 then it is used to override the default value of the currency format of the given locale.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@463137 13f79535-47bb-0310-9956-ffa450edef68
2006-10-12 06:04:33 +00:00
Hans Bakker 775c127a66 added the userLogin to the preparefind service call
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@463110 13f79535-47bb-0310-9956-ffa450edef68
2006-10-12 02:15:47 +00:00