Commit Graph
74 Commits
Author SHA1 Message Date
Scott Gray a1b604adf6 Changed all occurances of new BigDecimal("0") to BigDecimal.ZERO and likewise for BigDecimal.ONE
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@576773 13f79535-47bb-0310-9956-ffa450edef68
2007-09-18 08:30:58 +00:00
David E. Jones c9414cb886 Small change to correct problem with the last one; when the type conversion fails we don't want to put the original value in, it will cause a service call exception; set to null to just leave out
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@557109 13f79535-47bb-0310-9956-ffa450edef68
2007-07-18 01:15:13 +00:00
David E. Jones 7e9e6f515f Changed set-service-fields to add validation errors to a list instead of quiting, then calling method can control what to do with them
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@557102 13f79535-47bb-0310-9956-ffa450edef68
2007-07-18 00:46:17 +00:00
Andrew Zeneski b6ee74c3ed fixed to allow events to return 'null'
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@541927 13f79535-47bb-0310-9956-ffa450edef68
2007-05-26 18:51:18 +00:00
David E. Jones ebf8008f07 Applied patch from Joe Eckard to fix error message list handling; small change to use FastList instead of LinkedList; Jira #OFBIZ-792
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@515870 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 00:56:54 +00:00
David E. Jones ed67ae0bd7 Changed EntityDataAssert to throw exceptions so that calling method has more control over it
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@515285 13f79535-47bb-0310-9956-ffa450edef68
2007-03-06 20:27:36 +00:00
Jacopo Cappellato d521f0c604 Applied patch from Stefan Huehner (OFBIZ-513) to remove unnecessary import statements.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@511254 13f79535-47bb-0310-9956-ffa450edef68
2007-02-24 11:49:42 +00:00
Jacopo Cappellato 9557289d93 If the include-user-login attribute for the minilang service call methods is not set or it is true, the user login is put in the context but only if in the context there is not already a user login.
Thanks to David Jones for the review and to Dave Napolitan for bringing this up to my attention.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@505482 13f79535-47bb-0310-9956-ffa450edef68
2007-02-09 20:33:06 +00:00
Alfred Maxwell Byers 9802d2fc81 Added require-new-transaction and transaction-timeout to minilang CallService class.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@501646 13f79535-47bb-0310-9956-ffa450edef68
2007-01-31 00:09:29 +00:00
Jacques Le Roux a5632fa086 This is hte change of ASL2 headers in java files only.
Seems correct (35827 lines to review ;o).
I just wonder if we should keep the copyright comment in Classpath.java (about MortBay)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@496982 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 10:22:33 +00:00
David E. Jones e9bdbf0d28 Re-applied the patch from Adam Heath in Jira #OFBIZ-401 to update BSF to the Apache version 2.4.0; with JPublish gone this should work much better now
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@486518 13f79535-47bb-0310-9956-ffa450edef68
2006-12-13 06:58:02 +00:00
Jacques Le Roux 9b3b889c7b A patch from Stefan Huehner "Remove unused variables" (https://issues.apache.org/jira/browse/OFBIZ-525).
Issue is not closed : more patches to come

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@483405 13f79535-47bb-0310-9956-ffa450edef68
2006-12-07 10:21:27 +00:00
Jacques Le Roux eb82782d03 A patch from Stefan Huehner "Remove unused variables" (https://issues.apache.org/jira/browse/OFBIZ-525).
Issue is not closed : more patches to come

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@483235 13f79535-47bb-0310-9956-ffa450edef68
2006-12-06 21:18:30 +00:00
Jacopo Cappellato 4c2ba27630 Applied patch from Stefan Huehner (OFBIZ-514) to remove some unnecessary casts.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@482260 13f79535-47bb-0310-9956-ffa450edef68
2006-12-04 17:41:14 +00:00
David E. Jones 74b7217389 Applied patch from Scott Gray to add while operation; it looks good but I made a small change to the java code in While.java to simplify how the while loop is managed, ie to be more direct; from Jira #OFBIZ-444
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@474048 13f79535-47bb-0310-9956-ffa450edef68
2006-11-12 21:24:52 +00:00
Jacques Le Roux dccc751e54 Changes from a Scott Gray's patch : "Add a while-compare operation to minilang" (https://issues.apache.org/jira/browse/OFBIZ-444)
Thanks Scott

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@473334 13f79535-47bb-0310-9956-ffa450edef68
2006-11-10 13:21:45 +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 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
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
Jacopo Cappellato 593182a435 Removed author information from all the files of the "minilang" 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@454120 13f79535-47bb-0310-9956-ffa450edef68
2006-10-08 10:34:24 +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
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
Jacopo Cappellato 77b10240b9 License change from MIT to ASL2.0 for the files of the minilang component.
Thanks to Scott Gray for the patch (Apache OFBIZ-87).

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@423837 13f79535-47bb-0310-9956-ffa450edef68
2006-07-20 08:56: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