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
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
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
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
Jacopo Cappellato
3b81b56520
Removed author information from all the files of the "base" component: keeping this information in source files is discouraged by the ASF (clearer information about the contributors of a file can be derived from the commit logs).
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@454162 13f79535-47bb-0310-9956-ffa450edef68
2006-10-08 15:45:30 +00:00
Jacopo Cappellato
137ab48677
Fixed bug reported in OFBIZ-222: Prev/Next links in multi forms are messed up after form is submitted.
...
This was caused by the presence in the links of the parameters submitted by the multi form.
I've fixed implementing a new method that takes as input the parameters map and returns as output a map without the multi-form parameters.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@453530 13f79535-47bb-0310-9956-ffa450edef68
2006-10-06 08:44:28 +00:00
Jacopo Cappellato
b79f8b95c5
Removed unused import statements from Java classes.
...
Patch from Peter Goron (OFBIZ-349).
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@452088 13f79535-47bb-0310-9956-ffa450edef68
2006-10-02 15:50:00 +00:00
Jacopo Cappellato
eb224eab4c
This is a fix for rendering of numeric values both in ftl templates and in form widget.
...
The problem was that the number of fractional digit used was the default one for the locale (usually 3) and for this reason many numbers were truncated in the screens.
I have fixed this by setting the maximum number of digits to 10.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@451937 13f79535-47bb-0310-9956-ffa450edef68
2006-10-02 09:52:36 +00:00
Jacques Le Roux
040024f4a7
Added a new method htmlSpecialChars into the StringUtil class from John Martin.
...
htmlSpecialChars may be used in
http://issues.apache.org/jira/browse/OFBIZ-178 &
http://issues.apache.org/jira/browse/OFBIZ-260 issues
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@451145 13f79535-47bb-0310-9956-ffa450edef68
2006-09-29 07:34:32 +00:00
Jacques Le Roux
017e1ed33b
Added Solo & Switch cards (Barclays) ans Visa Electron Purchasing validation.
...
(please see https://issues.apache.org/jira/browse/OFBIZ-202 )
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@446941 13f79535-47bb-0310-9956-ffa450edef68
2006-09-16 20:18:44 +00:00
David E. Jones
f4309707dd
Applied patch from Adam Heath to fix off by one error; Undersun Jira #OFBIZ-378
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@443051 13f79535-47bb-0310-9956-ffa450edef68
2006-09-13 18:13:49 +00:00
David E. Jones
4540e40d2a
Separated applications and framework transforms into separate try/catch in case the apps aren't present
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@431018 13f79535-47bb-0310-9956-ffa450edef68
2006-08-12 11:38:49 +00:00
David E. Jones
c177531b50
Added some handy methods to StringUtil for padding number strings and adding a number to a number string
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@430253 13f79535-47bb-0310-9956-ffa450edef68
2006-08-10 05:19:05 +00:00
Jacopo Cappellato
358e81d2ca
tabs to spaces
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429337 13f79535-47bb-0310-9956-ffa450edef68
2006-08-07 13:26:07 +00:00
Jacopo Cappellato
b1ee07d69a
removeSpaces method was indeed removing digits.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429334 13f79535-47bb-0310-9956-ffa450edef68
2006-08-07 13:23:03 +00:00
Jacopo Cappellato
adfc40c71d
tabs to spaces
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429265 13f79535-47bb-0310-9956-ffa450edef68
2006-08-07 07:27:27 +00:00
David E. Jones
bea65ea45b
Addressed some issues with i18n stuff and comparisons, type conversions; for numbers spaces are removed before parsing; for comparing with constants the en locale is assumed, ie the right value or value2 is mean to be a constant (we might have to do something with expanded strings here, but there string expansion should also generally expand numbers in the system or en locale; may still be an issue there, but the FlexibleStringExpander does a toString to this should be fine); this should fix Apahce Jira OFBIZ-133 and OFBIZ-136
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@429249 13f79535-47bb-0310-9956-ffa450edef68
2006-08-07 06:11:08 +00:00
Jacques Le Roux
cfe3a85d94
To close this chapter of dynamic modification of xpos.properties (needed by XUI i18n mechanism) and mostly avoiding svn notifications I suppressed the $Id let in the ASL2 header written by UtilProperties.java.
...
But because java.util.Properties.store (called by UtilProperties.java to write in xpos.properties) always writes a date/time after the header there is always a difference between repository and working copy files.
So I decided to svn:ignore xpos.properties in its directory (applications/pos/config), hoping this will not bring problems in future...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@428292 13f79535-47bb-0310-9956-ffa450edef68
2006-08-03 09:47:18 +00:00
Jacques Le Roux
e89160d370
Applying the Apache CTR policy I commit this change (dynamic ASL2 in xpos.properties) to close old Jira OFBIZ-884
...
If anybody think that this is not to be done, please feel free to revert the file.
Thanks
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@427570 13f79535-47bb-0310-9956-ffa450edef68
2006-08-01 13:15:42 +00:00
Si Chen
5f1ab2bd85
New remove Regex from string methods in StringUtil, with reimplementation of the removeNonNumeric and removeNumeric. From Andrew Sykes. OFBIZ-73
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@424482 13f79535-47bb-0310-9956-ffa450edef68
2006-07-21 22:33:45 +00:00
Si Chen
1d52997bb1
Patch from Peter Goron to fix problem with available locales not parsing correctly when locale is of format fr_FR. OFBIZ-45
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@424477 13f79535-47bb-0310-9956-ffa450edef68
2006-07-21 22:25:25 +00:00
Jacopo Cappellato
674ac0aaae
Conversion from MIT to ASL2.0 for the files of the base component.
...
Many thanks to Scott Gray for the patch (Apache OFBIZ-87).
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@422417 13f79535-47bb-0310-9956-ffa450edef68
2006-07-16 09:30:14 +00:00
David E. Jones
848b61b66d
Changed to Apache2 header, with comment about origins of parts of the code which is fortunately from a compatible license
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@422334 13f79535-47bb-0310-9956-ffa450edef68
2006-07-16 01:45:06 +00:00
David E. Jones
064b31dd3c
Removed barcode stuff to resolve CLA issue for Bryce Ewing; since there is another way of doing barcodes and this isn't needed, out it goes...
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@418676 13f79535-47bb-0310-9956-ffa450edef68
2006-07-03 04:38:35 +00:00
David E. Jones
94fe6d1cda
Initial OFBiz import from revision 7923 of the old svn.ofbiz.org SVN repository.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@418498 13f79535-47bb-0310-9956-ffa450edef68
2006-07-01 19:05:20 +00:00