Jacques Le Roux
592440841b
No functional changes only in documentation : replace some value-name per value-field plus remove some wrong dashes.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@822659 13f79535-47bb-0310-9956-ffa450edef68
2009-10-07 10:54:11 +00:00
Scott Gray
4acd7cc4f9
Corrected simple method documentation regarding the transaction timeout UOM, added the same to the services xsd and fixed a couple of service defs that appeared
...
to be specifying milliseconds rather than seconds.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@769205 13f79535-47bb-0310-9956-ffa450edef68
2009-04-27 23:53:40 +00:00
Adrian Crum
6e85ea167b
Added "NewList" and "NewMap" options to the <set> element type attribute. Now screen widgets and mini-language support the creation of empty Lists and Maps.
...
Usage:
<set field="theList" type="NewList"/>
<set field="theMap" type="NewMap"/>
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@765284 13f79535-47bb-0310-9956-ffa450edef68
2009-04-15 17:44:47 +00:00
Jacques Le Roux
b9c3ddef08
2d part and end of an effort to remove trailing spaces
...
[ \t]+$ => "" (empty)
Should be easier to review when committing changes with trailing spaces removed automatically by anyedit or such tool (please refer to http://docs.ofbiz.org/x/mg )
Of course this effort to remove trailing spaces has no functional implications.
Actually, I was doing a 1st commit and as it's long to upload, I got conflicts with r763135
In the meantime I did some refactoring also in *.java and *.groovy files :
){ => ) {
if( => if (
while( => while (
}else => } else
else{ => else {
switch( => switch (
try{ => try {
}catch => } catch
catch( => catch (
}finally{ => } finally {
So these changes are also in this commit, should not be a problem anyway.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763175 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 10:54:51 +00:00
David E. Jones
ebc039406c
Chanded a few more attribute names for consistency, based on feedback from Marco
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@737194 13f79535-47bb-0310-9956-ffa450edef68
2009-01-23 21:30:17 +00:00
David E. Jones
874f02e9da
Manual merge of typecheckcleanup200810 branch as of rev 731346 in that branch, resolved all conflicts; with this BigDecimal is not the native type for many entity fields and is used for many calculations; some work is still needed in certain areas of the project but this covers the most critical ones; thanks especially to Scott for his work on this
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@731851 13f79535-47bb-0310-9956-ffa450edef68
2009-01-06 07:13:36 +00:00
Jacques Le Roux
6c10cc1a9c
Fix some typos
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730260 13f79535-47bb-0310-9956-ffa450edef68
2008-12-30 22:09:06 +00:00
David E. Jones
0d32641db0
Fixed issue where the attribute value was used for two things, so where it means an entity generic value it is now value-field and an actual String or other type of value is just plain value
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@729707 13f79535-47bb-0310-9956-ffa450edef68
2008-12-28 08:40:44 +00:00
David E. Jones
65b455ac9b
The last batch of the major changes to make naming in simple-method attributes more consistent and simplify due to simpler tools; again see the Simple Method Cleanup Effort docs page for details on changes; some additional cleanups may be done based on feedback but this should be most of it
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@729704 13f79535-47bb-0310-9956-ffa450edef68
2008-12-28 08:17:47 +00:00
David E. Jones
fe8ed88393
More simple-method cleanups
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@728620 13f79535-47bb-0310-9956-ffa450edef68
2008-12-22 06:26:35 +00:00
David E. Jones
71f1d26a4b
More cleanup of simple method attributes to make them more consistent, still quite a bit left to go, working through the file and down to order-map-list, more to come soon to get this finished up so we can move on, note that these changes are and will be documented in the Simple Method Cleanup Effort page in the OFBTECH space on docs.ofbiz.org
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@728520 13f79535-47bb-0310-9956-ffa450edef68
2008-12-21 21:51:23 +00:00
Jacques Le Roux
438aaaf492
A patch from Chris Howe "Add createOrStore option to create-value in minilang" ( https://issues.apache.org/jira/browse/OFBIZ-893 ) - OFBIZ-893
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@712480 13f79535-47bb-0310-9956-ffa450edef68
2008-11-09 10:49:03 +00:00
Jacques Le Roux
a66e19d3b4
Typo
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@708473 13f79535-47bb-0310-9956-ffa450edef68
2008-10-28 08:02:54 +00:00
Hans Bakker
a16c35484c
OFBIZ-1934: Ignore property for condition-expr tag, excellent contribution by Bruno Busco
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@689713 13f79535-47bb-0310-9956-ffa450edef68
2008-08-28 04:17:48 +00:00
Adam Heath
2617681b51
Remove svn:executable on a bunch of stuff.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@684389 13f79535-47bb-0310-9956-ffa450edef68
2008-08-10 00:53:43 +00:00
Adrian Crum
fda2280d4f
Small change to the simple-methods.xsd file: changed the set-calendar adjuster attributes to string types. We commonly use expressions for things like this, so these string data types will help avoid XML parser errors.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@681240 13f79535-47bb-0310-9956-ffa450edef68
2008-07-30 23:09:56 +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
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
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
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
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
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
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
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
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
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
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
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
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
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