Commit Graph
77 Commits
Author SHA1 Message Date
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
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
David E. Jones 1448999de0 Applied patch from Jacques, part of Jira #OFBIZ-571
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@501760 13f79535-47bb-0310-9956-ffa450edef68
2007-01-31 08:13:52 +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
Hans Bakker 9e55d383b9 anumber of xml format errors were introduced by adding documentation. I did remove them but are not sure if the resulting file is 100% ok now...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@500807 13f79535-47bb-0310-9956-ffa450edef68
2007-01-28 15:19:00 +00:00
Jacques Le Roux c1539eac02 Some new simple-method (mini-lang) annotations/documentations. (https://issues.apache.org/jira/browse/OFBIZ-571)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@500683 13f79535-47bb-0310-9956-ffa450edef68
2007-01-27 23:22:40 +00:00
Jacques Le Roux b1db971219 Some new simple-method (mini-lang) annotations/documentations. (https://issues.apache.org/jira/browse/OFBIZ-571)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@500393 13f79535-47bb-0310-9956-ffa450edef68
2007-01-26 22:52:36 +00:00
Jacques Le Roux dad67935f7 A (large) patch from Scott Gray "Update ASL header" (https://issues.apache.org/jira/browse/OFBIZ-637).
I put also some svn:ignore for shark build and lib diretories and assetmaint/build 

I did some by hand lately, too much to remember. They were files with old header but without copyright. A 1st attempt I suppose, will have to check this after this commit.

I add some problems to commit this patch in one piece because it's so huge (specially with Eclipse I had to turn to Tortoise) !

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@499486 13f79535-47bb-0310-9956-ffa450edef68
2007-01-24 17:15:54 +00:00
Jacques Le Roux 6350c0dcc7 Some more annotations/documentation from minilang guide
(suppressed in minilang guide : http://docs.ofbiz.org/display/OFBIZ/Mini-Language+Guide)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@499029 13f79535-47bb-0310-9956-ffa450edef68
2007-01-23 14:22:48 +00:00
Jacques Le Roux c8590f8379 Some more annotations/documentation from minilang guide
(suppressed in minilang guide : http://docs.ofbiz.org/display/OFBIZ/Mini-Language+Guide)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@498826 13f79535-47bb-0310-9956-ffa450edef68
2007-01-22 22:11:03 +00:00
Jacques Le Roux 968ffcb0f9 Some more annotations/documentation from minilang guide
(suppressed in minilang guide : http://docs.ofbiz.org/display/OFBIZ/Mini-Language+Guide)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@498165 13f79535-47bb-0310-9956-ffa450edef68
2007-01-20 21:03:21 +00:00
Jacques Le Roux 5f62b047b0 Some more annotations/documentation from minilang guide
(suppressed in minilang guide : http://docs.ofbiz.org/display/OFBIZ/Mini-Language+Guide)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@498005 13f79535-47bb-0310-9956-ffa450edef68
2007-01-19 23:27:53 +00:00
Jacques Le Roux 64cea174fc This is the change of ASL2 headers in properties files only. Please see comments in another post in dev ML.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@497074 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 16:49:01 +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 b1697a15e6 Changed entity-name attribute on find-by-primary-key element back to be optional
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@496594 13f79535-47bb-0310-9956-ffa450edef68
2007-01-16 05:29:35 +00:00
Jacques Le Roux db56c184c8 Some more annotations/documentation from minilang guide (suppressed in minilang guide : http://docs.ofbiz.org/display/OFBIZ/Mini-Language+Guide)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@496094 13f79535-47bb-0310-9956-ffa450edef68
2007-01-14 16:15:53 +00:00
Jacques Le Roux 6767f36437 Corrects a bad paste over an existing snippet, thanks to Scott Gray's review.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@494323 13f79535-47bb-0310-9956-ffa450edef68
2007-01-09 05:47:31 +00:00
Jacques Le Roux a5a3a409a5 Some more annotations/documentation from minilang guide (suppressed in minilang guide : http://docs.ofbiz.org/display/OFBIZ/Mini-Language+Guide)
I began to add some new operations in MiniLang Guide (set, etc.). But did not yet add annotations for them in XSD.
I noticed that Confluence Rich Text Edit mode is adding lines here and there erraticaly (mostly after boxes and maybe tables)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@494212 13f79535-47bb-0310-9956-ffa450edef68
2007-01-08 22:01:25 +00:00
Jacques Le Roux a54352fd42 Some more annotations/documentation from minilang guide
(suppressed in minilang guide : http://docs.ofbiz.org/display/OFBIZ/Mini-Language+Guide)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@493502 13f79535-47bb-0310-9956-ffa450edef68
2007-01-06 16:32:10 +00:00
Jacques Le Roux 1f747273ea Fix some errors found by Andy (thanks to David's tip). Validated by http://www.w3.org/2001/XMLSchema.xsd (still learning Oxygen really powerful!)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@493176 13f79535-47bb-0310-9956-ffa450edef68
2007-01-05 20:23:56 +00:00
Jacques Le Roux 9997dd7a60 Some more annotations/documentation from minilang guide
(suppressed in minilang guide : http://docs.ofbiz.org/display/OFBIZ/Mini-Language+Guide)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@492311 13f79535-47bb-0310-9956-ffa450edef68
2007-01-03 21:39:17 +00:00