Commit Graph
3778 Commits
Author SHA1 Message Date
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 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 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
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
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 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
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
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
Adam Heath 300f380b62 Fix compare, UnsupportedOperationException.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@585974 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 14:24:50 +00:00
Jacopo Cappellato 989624f0f5 Applied patch from Adrian Crum (OFBIZ-1349) to remove a redundant security check (recently added to the app bar) and documentation for the base-permissions attribute.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@585879 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 06:03:06 +00:00
Adam Heath c6fc1e414e Append msg to the buffer in getMessage; got lost.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@585878 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 06:01:03 +00:00
Adam Heath d73602df56 Add -Xlint:unchecked to several javac calls; they are all clean, so
no warnings are produced.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@585858 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 04:19:48 +00:00
Adam Heath 37abcb458f Add varargs variants to framework/service.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@585857 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 04:14:01 +00:00
Adam Heath a87922cae1 Add helper method for checking/making service context maps.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@585856 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 04:12:44 +00:00
Adam Heath f67fa00c43 Remove most uses of LinkedMap, and replace with LinkedHashMap.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@585854 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 04:11:26 +00:00
Adam Heath 71b996b591 Switch from HashMap to FastMap.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@585852 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 04:09:50 +00:00
Adam Heath f86b842da5 Use the varargs variants in the delegator.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@585851 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 04:08:11 +00:00
Adam Heath 2b638d4802 Use varargs for reflection access.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@585850 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 04:06:43 +00:00
Adam Heath 1f79ff8d0b Java 1.5 markup for framework/jetty.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@585849 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 04:05:24 +00:00
Adam Heath e780c1da5b Java 1.5 markup for framework/catalina.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@585848 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 04:04:05 +00:00
Adam Heath bf2a6f831b Java 1.5 markup for framework/security.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@585847 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 04:02:46 +00:00
Adam Heath d3c07bfa49 Final bit of generics for EntityDataAssert.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@585846 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 03:57:29 +00:00
Adam Heath b420ea54d4 Java 1.5 markup for DelegatorInterface and GenericDelegator.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@585845 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 03:56:10 +00:00