Scott Gray
45462bffaa
A couple more fixes related to the recent minilang changes
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@667393 13f79535-47bb-0310-9956-ffa450edef68
2008-06-13 07:32:20 +00:00
Scott Gray
5f82669cb4
Fix for bug reported by Vikas Mayur on the dev list
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@667385 13f79535-47bb-0310-9956-ffa450edef68
2008-06-13 06:45:42 +00:00
David E. Jones
bd2d32eaba
Started effort of cleaning up element and attribute names in simple-methods, there is a lot of work to do here to make things consistent; for more info and a list of all changes see the docs.ofbiz.org Simple Method Cleanup Effort page
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@666069 13f79535-47bb-0310-9956-ffa450edef68
2008-06-10 11:31:17 +00:00
Scott Gray
658da5d59f
Minor documentation change
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@664671 13f79535-47bb-0310-9956-ffa450edef68
2008-06-09 10:23:54 +00:00
Scott Gray
f757fb7725
Corrected some simple-method documentation
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@664331 13f79535-47bb-0310-9956-ffa450edef68
2008-06-07 12:29:36 +00:00
Adrian Crum
7da9f667dc
Eliminated compiler warnings from most of the screen widget library. No functional changes.
...
I skipped the tree widget because it is not thread safe and it needs some work.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@662590 13f79535-47bb-0310-9956-ffa450edef68
2008-06-02 22:23:55 +00:00
David E. Jones
3543d6abe3
Changed the way EntityCondition sub-classes work so they use the javolution Reusable class for recycling objects; now all conditions should be created using the factory methods on the EntityCondition object instead of the direct constructors; there is a small variety of classes available there now for ease of use; also changed a bunch of old code to not use the deprecated constructors; note that still need to do a pass similar to this on EntityExpr
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@660780 13f79535-47bb-0310-9956-ffa450edef68
2008-05-28 01:58:46 +00:00
Jacques Le Roux
d403834733
Some small enhancements
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@659966 13f79535-47bb-0310-9956-ffa450edef68
2008-05-25 11:40:18 +00:00
Adrian Crum
a3536990f1
Locale and Time Zone refactor and bug fixes.
...
1. Modified the Start class to initialize the JVM default locale and time zone - configurable through start.properties. Removed calls to UtilDateTime.getDefaultTimeZone() - no longer needed.
2. Changed all calls to ObjectType.simpleTypeConvert(...) that didn't supply the necessary Locale and TimeZone objects. This fixes a lot of localization issues, https://issues.apache.org/jira/browse/OFBIZ-1696 being one of them.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@658045 13f79535-47bb-0310-9956-ffa450edef68
2008-05-19 23:50:14 +00:00
Scott Gray
153653615b
Removed the rest of the calls to deprecated GenericDelegator methods, except for the findListIteratorByCondition which takes a DynamicViewEntity as a parameter not sure what to do about that one.
...
There's still all the bsh files to check though.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@655235 13f79535-47bb-0310-9956-ffa450edef68
2008-05-11 03:29:04 +00:00
Scott Gray
b6411d196e
Not really sure why but calling simple methods in other files wasn't working with the class loader that was being passed
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@653180 13f79535-47bb-0310-9956-ffa450edef68
2008-05-04 05:34:21 +00:00
David E. Jones
329631a4b5
A whole bunch of cleanups to use newer and more consolidated delegator find methods; still lots of deprecation warnings, bots of deprecation warnings but this is a first pass, and things still run as before
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@653029 13f79535-47bb-0310-9956-ffa450edef68
2008-05-03 09:40:51 +00:00
Jacopo Cappellato
0e75a4abb1
Added support for get-related* operations in entity related information for artifact infos.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@639780 13f79535-47bb-0310-9956-ffa450edef68
2008-03-21 19:58:09 +00:00
David E. Jones
be576cbf0c
A bunch of fixes and refinements, completed first pass of successful full load for all entities/services, and an export of eomodeld forand service and an export for one service
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@633402 13f79535-47bb-0310-9956-ffa450edef68
2008-03-04 09:28:48 +00:00
David E. Jones
2bf0afbe4a
No real functional changes to operational code, just new stuff for getting meta data about entities, services, etc from the system
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@633325 13f79535-47bb-0310-9956-ffa450edef68
2008-03-03 23:37:14 +00:00
Adrian Crum
1f67dfa057
Final fix for "resource not found" errors in mini-lang.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@632106 13f79535-47bb-0310-9956-ffa450edef68
2008-02-28 20:03:15 +00:00
Adrian Crum
0fb7c85673
Fix for "resource not found" errors in mini-lang. This is a temporary fix. For some reason the classes implementing the org.w3c.dom.* interfaces choke on empty elements, so it will take some time for me to find a workaround.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@632083 13f79535-47bb-0310-9956-ffa450edef68
2008-02-28 18:45:51 +00:00
Hans Bakker
2e3b51529a
correction of various thai translations
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@631903 13f79535-47bb-0310-9956-ffa450edef68
2008-02-28 09:40:11 +00:00
Jacques Le Roux
3dcd59b151
Amended French labels
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@631883 13f79535-47bb-0310-9956-ffa450edef68
2008-02-28 08:04:58 +00:00
Hans Bakker
3f20b01f36
correction in converting properties to xml
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@631842 13f79535-47bb-0310-9956-ffa450edef68
2008-02-28 04:35:17 +00:00
Hans Bakker
1ac8c10955
converted several framework language labels files to the xml format and added the Thai language
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@630117 13f79535-47bb-0310-9956-ffa450edef68
2008-02-22 08:39:43 +00:00
Jacques Le Roux
51697c2e62
Updated following revision 616634
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@616743 13f79535-47bb-0310-9956-ffa450edef68
2008-01-30 12:59:32 +00:00
Adrian Crum
ef7d6740be
Removed the adjuster requirement from the new set-calendar simple method operation. Having thought about it more, I realized the operation could be used just to align a date to a period start or end, without using an adjuster.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@616634 13f79535-47bb-0310-9956-ffa450edef68
2008-01-30 05:33:30 +00:00
Jacques Le Roux
32624967eb
Another bug fix, but set-calendar still not behave like set regarding auto-completion. Not sure why yet, will see later.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@616323 13f79535-47bb-0310-9956-ffa450edef68
2008-01-29 13:58:53 +00:00
Jacques Le Roux
72e894b2bf
Fix another error about duplicate type (should have been simple-type specific enumeration only)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@616310 13f79535-47bb-0310-9956-ffa450edef68
2008-01-29 13:42:17 +00:00
Jacques Le Roux
9e2dde9497
Ooops, set is not set-calendar
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@616304 13f79535-47bb-0310-9956-ffa450edef68
2008-01-29 13:35:11 +00:00
Jacques Le Roux
6afa3fa833
A patch from Adrian Crum from an issue initiated by Fabien Carrion "To permit to calculate on a DATE object in minilang" ( https://issues.apache.org/jira/browse/OFBIZ-1249 ) - OFBIZ-1249
...
I have added the XSD part please check it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@616292 13f79535-47bb-0310-9956-ffa450edef68
2008-01-29 12:55:45 +00:00
Adrian Crum
7d9b622afc
Fixed problem with simple method call-service operation, reported by Chris Juettner on the dev mailing list.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@610440 13f79535-47bb-0310-9956-ffa450edef68
2008-01-09 16:32:21 +00:00
Jacopo Cappellato
88631750a8
Added missing 'List' type (taht is supported) to the 'set' operation definition to avoid validation errors.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@604173 13f79535-47bb-0310-9956-ffa450edef68
2007-12-14 11:43:19 +00:00
Jacques Le Roux
279c6b8313
A patch from Chris Howe <<Missing "not-like" condition in Simple Methods>> ( https://issues.apache.org/jira/browse/OFBIZ-1433 ) - OFBIZ-1433
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@603152 13f79535-47bb-0310-9956-ffa450edef68
2007-12-11 06:14:23 +00:00
David E. Jones
ba679e087e
Small change to make it easier to tell what exactly the simple method name is
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@593273 13f79535-47bb-0310-9956-ffa450edef68
2007-11-08 19:42:21 +00:00
Jacques Le Roux
ae76370a04
Replace all www.ofbiz.org by ofbiz.apache.org (mostly links to dtds). Note that there are 2 void links :
...
http://ofbiz.apache.org/service/
http://ofbiz.apache.org/cgi-bin/http_test.pl
Those links were useless before also
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586802 13f79535-47bb-0310-9956-ffa450edef68
2007-10-20 21:17:45 +00:00
Adam Heath
2ff7a8a575
Make use of the single-arg variants of makePK/makeValue, removeAll,
...
and clearCacheLine
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@585803 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 02:46:57 +00:00
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
427f56690c
Added enum value for a conventional variable name to use for this to avoid errors and still keep the enum auto-fill and checking
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@571289 13f79535-47bb-0310-9956-ffa450edef68
2007-08-30 20:06:10 +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
Jacques Le Roux
174bcd8621
A patch from Shi Yusen "zh properties in progress" ( https://issues.apache.org/jira/browse/OFBIZ-617 )
...
The framework part was still waiting to be commited
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@556459 13f79535-47bb-0310-9956-ffa450edef68
2007-07-15 21:40:04 +00:00
Jacopo Cappellato
44f5f4d1dd
Russian labels from Oleg Andreyev OFBIZ-1037
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@545455 13f79535-47bb-0310-9956-ffa450edef68
2007-06-08 08:23:18 +00:00
David E. Jones
07b48643c5
As noted needing to be done by Jacques Le Roux did a search/replace on source=1.4 and changed to 1.5
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@541997 13f79535-47bb-0310-9956-ffa450edef68
2007-05-27 15:55:18 +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
3ea0e5bf98
Added documentation comment to clarfiy usage of the type attribute on the field element based on questions/comments from Chris Howe
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@539811 13f79535-47bb-0310-9956-ffa450edef68
2007-05-20 01:11:23 +00:00
David E. Jones
7d70c41c12
Did a big search/replace to change all xsd file refs from www.ofbiz.org to ofbiz.apache.org
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@539504 13f79535-47bb-0310-9956-ffa450edef68
2007-05-18 15:47:14 +00:00
David E. Jones
47677e2c59
Applied patch from Jacques Le Roux with documentation additions, from Jira #OFBIZ-571
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@524533 13f79535-47bb-0310-9956-ffa450edef68
2007-04-01 05:06:36 +00:00
David E. Jones
a74b800f43
Made the calculate->field-name attribute required again, thanks to Jacques for pointing out this problem
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@524528 13f79535-47bb-0310-9956-ffa450edef68
2007-04-01 04:47:16 +00:00
Jacopo Cappellato
597766520d
Properties files for all OfBiz modules available in romanian language.
...
Many thanks to Roberto Santori (OFBIZ-845) for this great contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@523091 13f79535-47bb-0310-9956-ffa450edef68
2007-03-27 21:36:11 +00:00
David E. Jones
2746384557
Changed the calcop element's field-name attribute to NOT be required; this must be another casualty of recent cleanups or something
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@523001 13f79535-47bb-0310-9956-ffa450edef68
2007-03-27 17:13:56 +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
David E. Jones
62ac182829
Changed to represent the fact that calcop -> field-name is optional; reported by Chris Howe
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@514617 13f79535-47bb-0310-9956-ffa450edef68
2007-03-05 09:17:55 +00:00