Scott Gray
78b784e80e
Convert all uses of json event types to chained requests with the common json event at the end.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892219 13f79535-47bb-0310-9956-ffa450edef68
2009-12-18 10:55:34 +00:00
Scott Gray
4d2a839b1d
Added a common resquest mapping for sending json responses based on the request attributes, requests requiring json responses should chain the request. Removes the need for a json event wrapper for every type of event. Based on idea put forward by Bob Morley OFBIZ-2778
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892218 13f79535-47bb-0310-9956-ffa450edef68
2009-12-18 10:54:20 +00:00
Adam Heath
8f2b94fc02
Switch <path id="src-path"/> to a patternset implementation. See next
...
commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892171 13f79535-47bb-0310-9956-ffa450edef68
2009-12-18 08:04:06 +00:00
Adam Heath
ec8ea7d52c
Add start of sql testing, just printing them for now.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892169 13f79535-47bb-0310-9956-ffa450edef68
2009-12-18 08:02:53 +00:00
Adam Heath
cf7ff14b33
Fix comment end parsing.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892168 13f79535-47bb-0310-9956-ffa450edef68
2009-12-18 08:02:16 +00:00
Adam Heath
df3653a24c
Remove ListValue, in preference of a more accurate object model
...
representation.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892147 13f79535-47bb-0310-9956-ffa450edef68
2009-12-18 05:40:52 +00:00
Adam Heath
c4a25bfff5
Detect duplicate alias all entries.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892146 13f79535-47bb-0310-9956-ffa450edef68
2009-12-18 05:40:11 +00:00
Adam Heath
0514883e64
Excludes are now done as a Set instead of a List.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892144 13f79535-47bb-0310-9956-ffa450edef68
2009-12-18 05:39:16 +00:00
Adam Heath
9864303a74
Detect duplicate relations during parse, by making use of a map. In
...
addition, store this map for later use.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892143 13f79535-47bb-0310-9956-ffa450edef68
2009-12-18 05:38:49 +00:00
Adam Heath
e98ca66748
OrderBy is now a list of OrderByItem, instead of String, and support
...
upper and lower functions.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@892142 13f79535-47bb-0310-9956-ffa450edef68
2009-12-18 05:38:09 +00:00
Marco Risaliti
70200c8a4f
Internazionalization of an error messages of MiniLang (OFBIZ-3360)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@891929 13f79535-47bb-0310-9956-ffa450edef68
2009-12-17 21:41:00 +00:00
Marco Risaliti
b6b0a0c770
Some changes to the seed data for the new Italian provinces introduced recently (OFBIZ-3361)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@891928 13f79535-47bb-0310-9956-ffa450edef68
2009-12-17 21:38:03 +00:00
Marco Risaliti
684b54c979
When gets the associated state list to the regions show also the county (OFBIZ-3359)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@891925 13f79535-47bb-0310-9956-ffa450edef68
2009-12-17 21:35:30 +00:00
Marco Risaliti
df0f27166c
Dutch CommonUiLabels patch (OFBIZ-3357)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@891434 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 21:38:07 +00:00
Vikas Mayur
6a135c5dbf
Added CRUD services for GeoPoint and FixedAssetGeoPoint entity. Additional changes are done to avoid possible NPE.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@891248 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 14:27:50 +00:00
Hans Bakker
a2982cef6d
Although we do not experience compile problems here, there were some problems as reported https://issues.apache.org/jira/browse/OFBIZ-3353 . which should be fixed now, contribution by chattree
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@891180 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 10:44:27 +00:00
Adam Heath
ad3b379d34
Fix groovy class parsing/caching.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@891070 13f79535-47bb-0310-9956-ffa450edef68
2009-12-15 23:24:02 +00:00
Adam Heath
2abf8fed43
Utility methods for reading strings from streams and readers.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@891068 13f79535-47bb-0310-9956-ffa450edef68
2009-12-15 23:23:15 +00:00
Bilgin Ismet Ibryam
dd822b9022
Fixed rendering of required-field-style.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@890852 13f79535-47bb-0310-9956-ffa450edef68
2009-12-15 16:04:08 +00:00
David E. Jones
4e89c158ed
Based on idea from Patrick Antivackis in issues #OFBIZ-3257: changed order of sources for parameters Map so that request parameters are the lowest priority instead of second highest; in some general/random testing this seems to work fine, and addresses the issue Patrick brought up as well as preserving flexibility
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@890831 13f79535-47bb-0310-9956-ffa450edef68
2009-12-15 15:37:12 +00:00
Hans Bakker
78fa025e71
extended the OLAP entities with the InventoryItemFact, added birt reports in the facility, Order, and accouning payment components. Please note that before these reports can be used the warehouse needs to be populated
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@890830 13f79535-47bb-0310-9956-ffa450edef68
2009-12-15 15:34:29 +00:00
Jacques Le Roux
cb3be6ce4f
Replace other status labels by CommonStatus
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@890670 13f79535-47bb-0310-9956-ffa450edef68
2009-12-15 06:41:50 +00:00
Scott Gray
95b37037cf
Updated incorrect selenium download link, added notes to try and prevent it from happening again
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@890518 13f79535-47bb-0310-9956-ffa450edef68
2009-12-14 22:41:03 +00:00
Bruno Busco
98f577b977
Moved TabBar Menus from the "body" decorator-section to the "pre-body" decorator section.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@890490 13f79535-47bb-0310-9956-ffa450edef68
2009-12-14 21:38:45 +00:00
Jacques Le Roux
4415d1f33b
Typo, but this commit is rather a warning: if you put an underscore in your permission it will be stripped by the lines just below this change, ie
...
// trim the permissions (remove spaces)
for (int i = 0; i < this.basePermission.length; i++) {
this.basePermission[i] = this.basePermission[i].trim();
if (this.basePermission[i].indexOf('_') != -1) {
this.basePermission[i] = this.basePermission[i].substring(0, this.basePermission[i].indexOf('_'));
}
}
So if you put MY_APP as a permission it will end as MY (I will add a comment at http://cwiki.apache.org/confluence/display/OFBTECH/OFBiz+security )
Also because the comment and the code are not consistent I wonder what those lines are really for...
This is from pre Apache Era. I prefer to not touch...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@890311 13f79535-47bb-0310-9956-ffa450edef68
2009-12-14 13:30:03 +00:00
Jacopo Cappellato
891ee60b18
Fixed bug that was preventing to edit sme numeric fields
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@890305 13f79535-47bb-0310-9956-ffa450edef68
2009-12-14 13:19:48 +00:00
Ashish Vijaywargiya
c26fea3cb2
Removed warning message coming on couple of PDF.
...
Patch from Parimal Gain.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@890282 13f79535-47bb-0310-9956-ffa450edef68
2009-12-14 11:51:36 +00:00
Jacques Le Roux
7fd6e14864
A patch from Si Chen "wsdl generated is not correct for Apache Synapse and Visual Studio" ( https://issues.apache.org/jira/browse/OFBIZ-3299 ) - OFBIZ-3299
...
The WSDL generated by ModelService is not correct for Visual Studio or Apache Synapse, causing Web services not to work properly. The soap:action tag is missing the URI for soapAction and needs to specify that this style is "rpc" for RPC/literal.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@890245 13f79535-47bb-0310-9956-ffa450edef68
2009-12-14 09:35:15 +00:00
Hans Bakker
141a75160f
remove empty files, svnignore all files in the runtime log and tempfiles directory
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@890204 13f79535-47bb-0310-9956-ffa450edef68
2009-12-14 07:29:05 +00:00
Hans Bakker
f9e1b11bde
Merge birt branch 831204:886087 and 831209:885099. A contribution by Antwebsystems employee Chattree
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@890175 13f79535-47bb-0310-9956-ffa450edef68
2009-12-14 04:41:28 +00:00
Scott Gray
27cf8edea6
Fixed problem reported by Jacopo where the tree widget expand/collapse buttons weren't being displayed in Safari. Safari seems to not want to display link background images unless the link has some content, fixed by adding a non-breaking space if the link is empty.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@890120 13f79535-47bb-0310-9956-ffa450edef68
2009-12-13 21:13:49 +00:00
Scott Gray
9273c5b478
I noticed during test runs that the same eca rules are being checked multiple times, this is because the test run loads multiple dispatchers with each calling ServiceEcaUtil.readConfig() which blindly adds the rules to each cache entry regardless of whether they are already present or not.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889919 13f79535-47bb-0310-9956-ffa450edef68
2009-12-12 10:50:28 +00:00
Adam Heath
be09838055
Remove duplicate webslinger-base-invoker libs and classpath entries.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889878 13f79535-47bb-0310-9956-ffa450edef68
2009-12-12 01:47:34 +00:00
Adam Heath
7286ff8d28
Instrumentation with cobertura. It won't actually do anything, tho,
...
until cobertura-1.9.3.jar is placed into framework/base/lib.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889839 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 22:27:18 +00:00
Adam Heath
68e0788392
Generic instrumentation framework. Nothing is configured to use it yet.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889838 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 22:26:24 +00:00
Adam Heath
d22fbbe257
Upgrade asm from 2.2 to 3.2; this required upgrading to an unreleased
...
version of groovy(ick), and a new webslinger snapshot.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889836 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 22:21:36 +00:00
Adam Heath
de36a4dfb8
Add the beginnings of a tester for GenericMap. Doesn't really verify
...
anything yet, and is rather stupid, in that it only does printlns. Not
adding this to the existing test infrastructure, until it is ready.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889763 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 18:45:32 +00:00
Adam Heath
2b12434323
Rename putAll(Iterator) to putAllIterator(Iterator).
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889762 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 18:44:36 +00:00
Adam Heath
52383e1988
Support ConcurrentModificationException for iterators.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889761 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 18:43:55 +00:00
Adam Heath
7dcca5e431
Inverted wrapped hasNext/next processing, so that
...
ConcurrentModificationException support will work, thru an isValid
helper call.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889759 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 18:42:33 +00:00
Adam Heath
ef08ee7003
Generic test case assertEquals methods, can be used as an extends, or
...
statically.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889757 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 18:40:13 +00:00
Adrian Crum
4585668b7e
Changed ObjectType info logging level from warning to verbose.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889748 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 18:25:07 +00:00
Jacques Le Roux
b675c31a3a
Close "duplicated countries listed in currency selection" ( https://issues.apache.org/jira/browse/OFBIZ-3246 )
...
As explained in OFBIZ-3246, RMB is not ISO, CNY is. I kept the lines (only commented out)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889666 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 15:46:03 +00:00
Jacques Le Roux
908852b731
Remove some useless types, Number covers: BigDecimal, BigInteger, Byte, Double, Float, Integer, Long, Short
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889319 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 16:41:13 +00:00
Bilgin Ismet Ibryam
25bf7c9ba7
Removed an extra quote from tree renderer.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889190 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 11:14:12 +00:00
Jacques Le Roux
c10003199d
A patch from Harmeet Bedi "update required JDK constant to reflect JDK 1.6 requirement." ( https://issues.apache.org/jira/browse/OFBIZ-3323 ) - OFBIZ-3323
...
Update gives a nice message instead of ugly stack trace when anyone attempts to run with JDK 1.5
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889124 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 07:34:03 +00:00
Jacques Le Roux
884cc9ce8f
I forgot this file in r889014 - OFBIZ-3317 "Update and correction for the visual HTML editor"
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889122 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 07:26:54 +00:00
Ashish Vijaywargiya
0507a954f6
Part of OFBIZ-3320 - Now you will see "Find" button on Lookup forms.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889088 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 04:50:29 +00:00
Ashish Vijaywargiya
88a092d2f9
Applied patch from jira issue OFBIZ-3320 - improvement in Find screen.
...
Fix title of buttons to Find, for all the find screens to maintain consistency.
Thanks Chandan for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889084 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 04:29:19 +00:00
Scott Gray
84445caafe
Fix typo
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@889043 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 01:02:37 +00:00