Adam Heath
ef4d4cde1b
Don't instantiate new java.lang.Number instances.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586849 13f79535-47bb-0310-9956-ffa450edef68
2007-10-21 03:53:56 +00:00
Adam Heath
f107f75aed
All things delegator/entity are now generified.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586848 13f79535-47bb-0310-9956-ffa450edef68
2007-10-21 03:52:32 +00:00
Adam Heath
9b0735ce53
Use ComponentConfig generics.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586847 13f79535-47bb-0310-9956-ffa450edef68
2007-10-21 03:50:49 +00:00
Adam Heath
cc9d9de222
Made UtilXml generics usage.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586845 13f79535-47bb-0310-9956-ffa450edef68
2007-10-21 03:41:47 +00:00
Adam Heath
9342c80521
The internal serviceInvoker methods were returning map in all cases.
...
So, change the return type to match.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586839 13f79535-47bb-0310-9956-ffa450edef68
2007-10-21 03:11:39 +00:00
Adam Heath
a751352f92
Don't use string addition.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586835 13f79535-47bb-0310-9956-ffa450edef68
2007-10-21 03:08:06 +00:00
Jacques Le Roux
c70b06897e
Trivial typo found by chance
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586806 13f79535-47bb-0310-9956-ffa450edef68
2007-10-20 21:26:05 +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
Jacopo Cappellato
e37974e322
Applied (slightli different version od) patch from Marco Risaliti (OFBIZ-1355) to fix the ugly layout for empty cells in IE.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586690 13f79535-47bb-0310-9956-ffa450edef68
2007-10-20 09:45:50 +00:00
Andrew Zeneski
69a8365631
reverted partial change from rev 585854 to allow ecommerce to actually allow a user to checkout again. The use of LinkedMap.get(int) is used so this CANNOT be a LinkedHashMap. Ecommerce works again
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586670 13f79535-47bb-0310-9956-ffa450edef68
2007-10-20 05:44:05 +00:00
Hans Bakker
fbf45d4367
make workkeffort 'assign' services thruDate aware
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586667 13f79535-47bb-0310-9956-ffa450edef68
2007-10-20 05:04:08 +00:00
Andrew Zeneski
d04c0e7522
changed connection pool to be DBCP by default now
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586666 13f79535-47bb-0310-9956-ffa450edef68
2007-10-20 04:47:11 +00:00
Anil Patel
44eebf4377
CrUD Services and supporting UI for VenderProduct entity.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586665 13f79535-47bb-0310-9956-ffa450edef68
2007-10-20 04:39:32 +00:00
Hans Bakker
b5c067b510
do not allow updating timesheet when status is not in progress
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586663 13f79535-47bb-0310-9956-ffa450edef68
2007-10-20 03:53:21 +00:00
Adam Heath
8a1a1ecb52
allowCallbacks() was generified too early.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586660 13f79535-47bb-0310-9956-ffa450edef68
2007-10-20 03:34:50 +00:00
Adam Heath
56e222afb0
Javolution is buggy; it doesn't support structural changes on sub
...
lists, as is required by the api.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586639 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 23:09:08 +00:00
Andrew Zeneski
590116e96c
changed method so it can be called through FTL static calls
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586597 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 20:28:21 +00:00
Adam Heath
6299562937
Fix up another call to ModelServiceReader.getModelServiceMap so that
...
it uses generics.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586590 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 19:45:08 +00:00
Andrew Zeneski
1a5f5d69c2
added adjustTimestamp method which doesn't require timezone or locale
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586582 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 19:09:27 +00:00
Anil Patel
d7955584b5
fix link party. Now fin account and userlogin information is migrated when parties are linked.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586555 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 17:37:12 +00:00
Adam Heath
8ce0dfc0ee
Add generics markup to code that deals with UtilCache directly.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586479 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 14:27:45 +00:00
Adam Heath
aedfa46991
loadClass calls now have generics markup.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586478 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 14:26:16 +00:00
Adam Heath
d8a8d6a922
Use generics markup from entity engine.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586477 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 14:24:56 +00:00
Adam Heath
ffeda205f6
Java 1.5 markup.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586475 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 14:23:50 +00:00
Adam Heath
a20d5e5b5c
Make use of UtilXml's generics markup.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586473 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 14:22:10 +00:00
Adam Heath
4c9f4fc83b
No longer return anything from checkAuth; instead, just modify the
...
passed in context.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586470 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 14:20:44 +00:00
Adam Heath
04a2050667
Don't use a single sendCallbacks method, with different value
...
arguments; it's not type-safe. Instead, use 3 variants.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586468 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 14:18:53 +00:00
Adam Heath
04ed802604
Start of java 1.5 markup.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586467 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 14:17:07 +00:00
Adam Heath
d6dcdaa553
Java 1.5 markup for framework/appserver.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586466 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 14:15:03 +00:00
Adam Heath
90dc49d692
Collapse the nested collections in getServiceEventRules.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586464 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 14:12:06 +00:00
Jacopo Cappellato
88abdbd634
Misc improvements to the drop-down examples.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586463 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 14:04:50 +00:00
Jacopo Cappellato
8065f28732
New examples for date/time fields.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586458 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 13:53:26 +00:00
Jacopo Cappellato
a786fd7032
Applied patch from Adrian Crum to remove redundant permission checks.
...
OFBIZ-1353
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586453 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 13:46:20 +00:00
Jacopo Cappellato
6c988dc352
Applied patch from Jeremy Wickersheimer OFBIZ-1118 to provide a default value for the pagination-target: if not specified, now the attribute is retrieved from the request target uri.
...
It is now possible to remove most of (if not all) the paginate-target attributes set in form definitions.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586449 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 13:42:47 +00:00
Jacopo Cappellato
b919e9d9ae
Applied patch from Marco Risaliti to fill empty table cells with the character: this wfixes the ugly layout in IE.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586446 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 13:37:35 +00:00
Jacopo Cappellato
5e52cef6f9
Fixed menu selection.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586367 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 10:26:20 +00:00
Jacopo Cappellato
2c8591be70
Fixed main menu selection.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586365 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 10:14:47 +00:00
Jacopo Cappellato
7c4e86411c
Fixed typos.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586364 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 10:11:04 +00:00
Jacopo Cappellato
69cf27f071
Added new screen and form to the Example application as a proof of concept for a way to create a library of tricks and best practices for form widget definitions; the Example application could then be used as a repository of easily accessible examples for widgets. In this example I've started to document some useful ways to use the drop-down fields.
...
What do you think? I did this change using the CTR (commit-then-review) policy: if you don't like this idea I will immediately revert.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586349 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 09:39:51 +00:00
Hans Bakker
6cd12e59e9
add simple status to timesheet and correct wrong foreign key
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586339 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 08:57:52 +00:00
Anil Patel
d4d24a577c
Adding Cart Constraints. Using data in product Assoc table, Remove a existing Product in cart if Product added to cart is incompatible/is Upgrade with it.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586333 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 08:50:07 +00:00
David E. Jones
d1abb14eaa
Some refactoring of the sequence bank refill code: reorganized so that transaction management is inside the loop instead of out, causing each attempt to be in its own transaction to avoid doing mean things like locking and waiting; also added an extra synchronized block around the transaction that does the select/update/select stuff to protect it extra and avoid problems with waiting/sleeping; this is tested minimally and needs more thorough testng to see if it solved the problems seen
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586306 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 08:13:17 +00:00
Jacopo Cappellato
fa7284ec00
Converted appbar of the Example application from ftl to widget menu.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586303 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 08:02:28 +00:00
Anil Patel
c198ee4225
Adding Export Inventory Item report in CSV format.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586139 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 21:13:18 +00:00
Adam Heath
4a609f7531
Intern the entity descriptions too.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586117 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 20:16:29 +00:00
Adam Heath
ba687998de
Fix CCE in equals.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586115 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 20:14:36 +00:00
David E. Jones
02f471258d
Based on feedback from Adam Feder small change to better avoid conflicting threads grabbing the same sequences
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586079 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 18:57:01 +00:00
Adam Heath
b29e308c88
Fix for javac's broken type inferring. If an array with length one
...
is passed to toMap, and the single value is an instance of a Map,
then try to cast it to a map.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586041 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 17:35:07 +00:00
Adam Heath
54f7822cfa
Fix error reported on mailing list; in essence, it appeared that
...
conditions weren't being processed. This was due to a cut-n-waste
issue; both whereCondition and havingCondition called
getHavingEntityCondition(doh!).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@586018 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 15:56:48 +00:00
Andrew Zeneski
27b01d1301
changed to only display valid status changes when editing a financial account
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@585987 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 14:47:54 +00:00