Adrian Crum
a777172d63
More temporal expression fixups.
...
I think this is ready now. The expression language won't change and the Java API won't change, so we can start building on it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@696344 13f79535-47bb-0310-9956-ffa450edef68
2008-09-17 15:38:16 +00:00
Adrian Crum
f91d030bfc
Safety/sanity checks for the temporal expression Java code.
...
Yes, there is millisecond arithmetic in this code. No, I haven't changed my view on it - millisecond arithmetic is still Evil. In this case I'm just using it to get a java.util.Calendar instance in the neighborhood of where I need it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@696134 13f79535-47bb-0310-9956-ffa450edef68
2008-09-17 02:39:19 +00:00
Adrian Crum
50724da6b9
More temporal expression work - additional JavaDocs, code fixups, converted all job sandbox jobs to temporal expressions.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@695995 13f79535-47bb-0310-9956-ffa450edef68
2008-09-16 18:19:55 +00:00
Adrian Crum
7692f1851b
Updated the job scheduler to use temporal expressions. Recurrence rules still work - so there is no rush to change existing installations.
...
I moved the recurrence count to the job sandbox. Keeping counters in the recurrence info was a bad idea. Any other code that relied upon counters in recurrence info will have to be redesigned to use temporal expressions.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@695695 13f79535-47bb-0310-9956-ffa450edef68
2008-09-16 00:10:17 +00:00
Adrian Crum
07002b3ebb
Small fixup for last commit.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@695691 13f79535-47bb-0310-9956-ffa450edef68
2008-09-16 00:00:40 +00:00
Adrian Crum
9f0dc4b5f1
Temporal expression recurring event framework. Based upon a design by Martin Fowler, and discussed in https://issues.apache.org/jira/browse/OFBIZ-1956 .
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@695688 13f79535-47bb-0310-9956-ffa450edef68
2008-09-15 23:40:31 +00:00
Jacques Le Roux
4e687b90ea
Better French translation (typography, I though about putting nbsp instead and everywhere needed but it's far enough for today :o)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@695202 13f79535-47bb-0310-9956-ffa450edef68
2008-09-14 12:00:30 +00:00
Jacques Le Roux
ca5aac7376
A bunch of i18n for Project and My Page, included French Translation
...
Also fix r693536
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@694216 13f79535-47bb-0310-9956-ffa450edef68
2008-09-11 11:06:04 +00:00
Jacopo Cappellato
022a021335
Trivial cleanup: removed an old, commented out, line.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@693366 13f79535-47bb-0310-9956-ffa450edef68
2008-09-09 05:05:42 +00:00
Jacques Le Roux
10ea2f694d
Some new labels and French translation
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@693232 13f79535-47bb-0310-9956-ffa450edef68
2008-09-08 20:08:00 +00:00
Jacopo Cappellato
8b35f7ae1b
Fixed error happening when only one field was selected for the dynamic report.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@692611 13f79535-47bb-0310-9956-ffa450edef68
2008-09-06 04:59:28 +00:00
Adam Heath
6c911c1d2d
A couple helper methods, so that calling code doesn't have to have so
...
many catch blocks.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@692610 13f79535-47bb-0310-9956-ffa450edef68
2008-09-06 04:10:17 +00:00
Adam Heath
ae2e0a53bb
Use a StringBuilder to read url text.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@692566 13f79535-47bb-0310-9956-ffa450edef68
2008-09-05 22:21:06 +00:00
David E. Jones
53ef197052
Added country data for Serbia and Montenegro, based on a complaint about them not being there
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@691957 13f79535-47bb-0310-9956-ffa450edef68
2008-09-04 10:06:11 +00:00
Jacques Le Roux
bad4459c5b
Patches from Bruno Busco & Bilgin Ibryam "List and Multi form pagination labels are not localized" ( https://issues.apache.org/jira/browse/OFBIZ-1922 ) - OFBIZ-1922
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@691953 13f79535-47bb-0310-9956-ffa450edef68
2008-09-04 09:41:43 +00:00
Adam Heath
027d8de2f3
The defaults for several values were incorrect; if they weren't
...
specified in the properties file, then they would have the wrong
value.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@691771 13f79535-47bb-0310-9956-ffa450edef68
2008-09-03 21:03:35 +00:00
Jacques Le Roux
9aa78c323a
Fix typos in error msgs
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@691522 13f79535-47bb-0310-9956-ffa450edef68
2008-09-03 06:17:36 +00:00
Adrian Crum
fa0acffa98
Menu widget extend actions bug fix, and some other work.
...
I changed the LinkedList objects to ArrayList - because ArrayList is more appropriate for the "build once, read many" type use. It also takes less memory.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@690740 13f79535-47bb-0310-9956-ffa450edef68
2008-08-31 17:29:38 +00:00
Jacques Le Roux
c1dcca1fc5
A patch from BJ Freeman " Change the text of the Induce DB." ( https://issues.apache.org/jira/browse/OFBIZ-1936 ) - OFBIZ-1936
...
BTW, is it normal that to view the result in FF3 you have to view the page source (Ctrl+U) ? Same in Opera (but faster ;o) in IE7 I get an error...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@690538 13f79535-47bb-0310-9956-ffa450edef68
2008-08-30 17:27:02 +00:00
David E. Jones
ab738ad435
Fixed missing eli.close reported by Hans Bakker on the mailing list; also cleaned up some poorly formatted and superfluous code
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@690171 13f79535-47bb-0310-9956-ffa450edef68
2008-08-29 10:22:56 +00:00
Scott Gray
6e13666d81
Add groovy support to menu actions
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@689776 13f79535-47bb-0310-9956-ffa450edef68
2008-08-28 10:25:14 +00:00
Jacques Le Roux
3b6a2ef490
Fix done from Sam Hamilton's demand on user ML (I used Fisheye ;o)
...
http://fisheye6.atlassian.com/browse/ofbiz/trunk/framework/common/config/CommonEntityLabels.xml?r1=673087&r2=678376
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@689723 13f79535-47bb-0310-9956-ffa450edef68
2008-08-28 05:37:33 +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
Andrew Zeneski
d3c9f3f289
added ant script for jboss deployment
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@689211 13f79535-47bb-0310-9956-ffa450edef68
2008-08-26 20:37:07 +00:00
Andrew Zeneski
f42108441d
added option to disable log4j conifguration
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@689210 13f79535-47bb-0310-9956-ffa450edef68
2008-08-26 20:36:42 +00:00
Andrew Zeneski
a737f00366
forced path changes due to problems with FTL and backslashes on non un*x environments
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@689198 13f79535-47bb-0310-9956-ffa450edef68
2008-08-26 20:15:01 +00:00
Adrian Crum
04b1c1f098
PersistedServiceJob.java improved messages - no functional change.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@689179 13f79535-47bb-0310-9956-ffa450edef68
2008-08-26 19:34:06 +00:00
Scott Gray
d401ccbba3
A better fix for the work I committed in rev. 684244
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@689040 13f79535-47bb-0310-9956-ffa450edef68
2008-08-26 11:58:19 +00:00
Jacques Le Roux
d9ea997381
Better French translation
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@689036 13f79535-47bb-0310-9956-ffa450edef68
2008-08-26 11:34:40 +00:00
Scott Gray
92e100a004
Another groovy fix
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@688968 13f79535-47bb-0310-9956-ffa450edef68
2008-08-26 06:07:15 +00:00
Scott Gray
5a7c81d4b5
Another groovy fix, this is actually more of a problem with the ModelService class which implements the Map interface but when groovy tries to determine the size of the map, the entrySet() call unexpectedly returns null
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@688854 13f79535-47bb-0310-9956-ffa450edef68
2008-08-25 19:58:12 +00:00
Jacques Le Roux
d1587f0e0a
I crossed an error related to this, yesterday while trying to fix https://localhost:8443/facility/control/ViewFacilityInventoryByProductReport?action=Y&facilityId=WebStoreWarehouse&productTypeId=FINISHED_GOOD&productsSoldThruTimestamp=2008-08-25%2013:45:28.625
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@688700 13f79535-47bb-0310-9956-ffa450edef68
2008-08-25 11:46:11 +00:00
Jacopo Cappellato
6bbb26c243
Fix for NPE happening for service implemented in Java in the service detail screen of the Artifact Info menu.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@688631 13f79535-47bb-0310-9956-ffa450edef68
2008-08-25 06:23:45 +00:00
Jacopo Cappellato
b0a9ad29de
Fixed typo in new groovy file that was causing an error in the Artifact Info screen.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@688627 13f79535-47bb-0310-9956-ffa450edef68
2008-08-25 06:04:13 +00:00
Scott Gray
43fd1226ec
Groovy fixes
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@688614 13f79535-47bb-0310-9956-ffa450edef68
2008-08-25 04:56:42 +00:00
Jacques Le Roux
1298fad3bd
i18n cleaning
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@688535 13f79535-47bb-0310-9956-ffa450edef68
2008-08-24 17:30:37 +00:00
David E. Jones
3a461ea757
Added visitId persistence to EntityAuditLog stuff
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@688498 13f79535-47bb-0310-9956-ffa450edef68
2008-08-24 12:09:37 +00:00
Jacques Le Roux
a92fbb545d
While at it some formatting
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@688485 13f79535-47bb-0310-9956-ffa450edef68
2008-08-24 10:02:10 +00:00
Jacques Le Roux
e99e3f8174
I agree with Bilgin that 100 here is too much. Bilgin suggested 10 but I even prefer 5. I think that as an embedded part it's enough. Feel free to express your opinion and I will be happy to adapt following consensus.
...
This will avoid Bilgin to create a Jira issue ;o)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@688477 13f79535-47bb-0310-9956-ffa450edef68
2008-08-24 09:28:52 +00:00
Scott Gray
75e810a2d3
Converted the remaining framework bsh scripts to groovy
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@688450 13f79535-47bb-0310-9956-ffa450edef68
2008-08-24 05:36:54 +00:00
Adrian Crum
eff5f89d39
Simplified Scott's FlexibleStringExpander NPE fix and updated the JavaDocs.
...
Many thanks to Scott for catching that, and many thanks to David Jones for his suggestions on the refactor.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@688348 13f79535-47bb-0310-9956-ffa450edef68
2008-08-23 15:56:17 +00:00
Scott Gray
eb425ac447
NPE fix
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@688296 13f79535-47bb-0310-9956-ffa450edef68
2008-08-23 11:15:23 +00:00
Scott Gray
9b786b8159
Reverted the rest of Si's recent work since it doesn't look like he is going to complete/correct the RequestHandler part any time soon
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@688265 13f79535-47bb-0310-9956-ffa450edef68
2008-08-23 06:17:06 +00:00
Adam Heath
839c7b6827
Stop deprecation warnings about ByteWrapper.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@688220 13f79535-47bb-0310-9956-ffa450edef68
2008-08-22 23:02:17 +00:00
Scott Gray
a3cb1fb0b6
Recommitting r687578, changed slightly to follow Adam's lead
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@688212 13f79535-47bb-0310-9956-ffa450edef68
2008-08-22 22:53:40 +00:00
Jacques Le Roux
3d050bde89
A couple of i18n and l10n stuff
...
Following Bilgin's recommendation, I almost successfully tested the iterate-section i18n using [<iterate-section entry-name="ownedFinAccount"...].
Almost, since I was unable to find the right paginate-target value as it's not a screen or a form but a screenlet.
Should we create an entry in the controller in such case? And if it's the case how, what to do ? In other words how do we call a screenlet ?
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@688167 13f79535-47bb-0310-9956-ffa450edef68
2008-08-22 18:23:42 +00:00
Adam Heath
06b236adae
Fix breakage with IN type operations.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@687936 13f79535-47bb-0310-9956-ffa450edef68
2008-08-22 04:00:57 +00:00
Scott Gray
64c7041d3f
Reverted 687578, which will at least take the problem back to a minor bug rather than a major one, sorry everyone
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@687918 13f79535-47bb-0310-9956-ffa450edef68
2008-08-22 01:09:14 +00:00
Adrian Crum
3ac5d11bb9
Added some synchronization code to FlexibleStringExpander.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@687900 13f79535-47bb-0310-9956-ffa450edef68
2008-08-21 23:34:59 +00:00
Adrian Crum
65d194a557
Changed UtilObject.getByteCount(Object obj) exception handling to log verbose, since exceptions are regularly thrown and they were clogging up the console log.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@687884 13f79535-47bb-0310-9956-ffa450edef68
2008-08-21 22:31:58 +00:00