Commit Graph
3778 Commits
Author SHA1 Message Date
Adam Heath 90426d4b6d Split framework/base into framework/start; now all components have
exactly the same type of layout.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@684377 13f79535-47bb-0310-9956-ffa450edef68
2008-08-09 23:38:36 +00:00
Jacques Le Roux 7a56d41286 Fix "Common labels are not included in the applications/content/webapp/content/website/WebSiteForms.xml" (https://issues.apache.org/jira/browse/OFBIZ-1903) - OFBIZ-1903
CommonCannotBeFound has never existed and is used in some places (mostly in Content comp.). I preferred to use "Could not be found"

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@684359 13f79535-47bb-0310-9956-ffa450edef68
2008-08-09 21:57:17 +00:00
Jacques Le Roux 0c91b9164f A patch from Markus Studer "German translations for ordermgr module" (https://issues.apache.org/jira/browse/OFBIZ-1908) - OFBIZ-1908
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@684354 13f79535-47bb-0310-9956-ffa450edef68
2008-08-09 21:39:47 +00:00
Scott Gray ab7f3fb5e3 Fixed a problem with list widgets not being able to make use of *EntityLabels.xml localization, I'm not sure if I've taken the best possible approach but the problem is solved without causing any harm as far as I can see. Reported by Bruno Busco on the dev list.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@684244 13f79535-47bb-0310-9956-ffa450edef68
2008-08-09 12:45:52 +00:00
Adrian Crum ab5fac7dba Small fix for HtmlScreenRenderer.java - don't render an img element if there is no image to display.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@684051 13f79535-47bb-0310-9956-ffa450edef68
2008-08-08 18:49:33 +00:00
Hans Bakker 0e16880a69 added buffer conversion which is required by the persistContentAndAssoc service to store email attachments
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@683752 13f79535-47bb-0310-9956-ffa450edef68
2008-08-07 23:42:38 +00:00
Adam Heath c9d5ac3ea9 Fix typo in Debug.verbose message.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@683441 13f79535-47bb-0310-9956-ffa450edef68
2008-08-06 23:11:34 +00:00
Adrian Crum aff5df07e3 Minilang set-calendar improvement - supply default local and time zone when they aren't available.
There was a problem with the set-calendar operation when it was called from the job scheduler - a NPE was thrown. This commit fixes that.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@683414 13f79535-47bb-0310-9956-ffa450edef68
2008-08-06 21:13:09 +00:00
Jacopo Cappellato 853ed7f633 Formatting and code cleanups after last commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@682657 13f79535-47bb-0310-9956-ffa450edef68
2008-08-05 09:54:05 +00:00
Jacques Le Roux bfc0ea779c A patch from Marco Ruocco solving an issue on Windows : File.separator in Windows system is "\", that is, also, the first character of an escape sequence. So the replaceAll method expects another char after that.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@682652 13f79535-47bb-0310-9956-ffa450edef68
2008-08-05 09:36:52 +00:00
Adam Heath bb6796365f Fix generication of Iterate.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@682395 13f79535-47bb-0310-9956-ffa450edef68
2008-08-04 14:16:15 +00:00
Jacopo Cappellato 8b9fc02614 Fixed wrong file name; I actually tried to use svn rename to change the file name but I had issues because the svn command seems to ignore upper/lower case characters.
Thanks to BJ for the bug report in the ml.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@682350 13f79535-47bb-0310-9956-ffa450edef68
2008-08-04 11:56:37 +00:00
Adam Heath 99bf46f085 Switch most new File(string_with_path_separator) calls to
FileUtil.getFile.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@682266 13f79535-47bb-0310-9956-ffa450edef68
2008-08-04 06:08:42 +00:00
Adam Heath 7ee96bdc1f Utility methods that convert string file paths to File objects.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@682261 13f79535-47bb-0310-9956-ffa450edef68
2008-08-04 05:47:26 +00:00
Adam Heath cc3c62ffce Generification, enhanced-for, FastMap/FastList changes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@682246 13f79535-47bb-0310-9956-ffa450edef68
2008-08-04 03:00:54 +00:00
Adam Heath 60b7afc406 Add a variant of isValidDatabaseId that takes a StringBuilder.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@682244 13f79535-47bb-0310-9956-ffa450edef68
2008-08-04 02:34:55 +00:00
Adam Heath 4f50ff1a92 Fix broken conversion to enhanced for loop; previous code started
checking at index 1, not index 0.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@682228 13f79535-47bb-0310-9956-ffa450edef68
2008-08-03 22:29:53 +00:00
Adam Heath 06029fe7e1 One last update.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@682104 13f79535-47bb-0310-9956-ffa450edef68
2008-08-03 05:19:45 +00:00
Adam Heath 2527b104a9 More FlexibleMapAccessor fallout.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@682103 13f79535-47bb-0310-9956-ffa450edef68
2008-08-03 05:17:15 +00:00
Adam Heath eb18028c42 More generics work; a bit of fallout from the recent
FlexibleMapAccessor generification.  Plus a few additional changes.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@682102 13f79535-47bb-0310-9956-ffa450edef68
2008-08-03 05:10:30 +00:00
Adam Heath a4dcc6e653 getResourceBundleMap returns ResourceBundleMapWrapper instead of
Map<String, Object>; this way, callers don't have to explicitly
cast to the former when they need to.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@682101 13f79535-47bb-0310-9956-ffa450edef68
2008-08-03 04:28:17 +00:00
Adam Heath abbb639e21 Remove duplicate ListOptions.listAscr initialization.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@682099 13f79535-47bb-0310-9956-ffa450edef68
2008-08-03 04:04:58 +00:00
Adam Heath ac55d75925 Final set of generics markup for base; base no longer has any
'unchecked' warnings.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@682096 13f79535-47bb-0310-9956-ffa450edef68
2008-08-03 02:59:30 +00:00
Adam Heath 43e9cdc2ff Generics galore.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@682078 13f79535-47bb-0310-9956-ffa450edef68
2008-08-02 23:31:04 +00:00
Adam Heath 5cf9c7f1c6 Another large set of generics/java15 markup/feature usage.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@682067 13f79535-47bb-0310-9956-ffa450edef68
2008-08-02 21:56:42 +00:00
Adam Heath 1f5adb8461 More generics.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@682061 13f79535-47bb-0310-9956-ffa450edef68
2008-08-02 21:40:01 +00:00
Adam Heath 2fdd964c9d More generics.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@682060 13f79535-47bb-0310-9956-ffa450edef68
2008-08-02 21:39:20 +00:00
Adam Heath e2e6f2bf4b More generics.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@682059 13f79535-47bb-0310-9956-ffa450edef68
2008-08-02 21:39:11 +00:00
Adam Heath 1284566d6f More generics.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@682058 13f79535-47bb-0310-9956-ffa450edef68
2008-08-02 21:39:02 +00:00
Adam Heath 049ffce626 Continuing with generics.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@682056 13f79535-47bb-0310-9956-ffa450edef68
2008-08-02 21:38:01 +00:00
Adam Heath 3cb25423a9 More misc. generics/java15 markup.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@682054 13f79535-47bb-0310-9956-ffa450edef68
2008-08-02 21:35:29 +00:00
Adam Heath b6a1ae5e5e Another minor optimization; no longer need to specify classpathref in
all the build.xml files.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@681935 13f79535-47bb-0310-9956-ffa450edef68
2008-08-02 03:41:46 +00:00
Adrian Crum af82e85699 First pass on updating the ecommerce style sheet, based on the patch found in https://issues.apache.org/jira/browse/OFBIZ-1119. Tested on FF2 and IE7.
This commit should not result in any layout changes. If you spot any problems, post a link on the dev mailing list and I will take care of it.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@681696 13f79535-47bb-0310-9956-ffa450edef68
2008-08-01 13:58:43 +00:00
Adrian Crum 44ecc8b364 Fixed the setUserPreference request in common-controller.xml. Reported by Bruno Busco on dev mailing list.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@681501 13f79535-47bb-0310-9956-ffa450edef68
2008-07-31 21:19:35 +00:00
David E. Jones 83f56ef712 Deprecating the loopSubContentCache transform because it is a huge mess and the loopSubContent uses the cache anyway; also found that the DemoWebSitePublishPointData.xml file had half of the ContentAssocs going one way, and half another; that is now fixed so they always go from parent to child; this required changes to the loopSubContent transform and various other cleanups along the way and a few fixes; some of these sample uses of the content infrastructure have got to be close to the worst code I've so hopefully someone will have some time to continue cleaning this up and keep their head about them while doing so in order to not make it worse
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@681276 13f79535-47bb-0310-9956-ffa450edef68
2008-07-31 05:03:31 +00:00
David E. Jones 0065182657 A few more view and request/event handlers, though not terribly common
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@681254 13f79535-47bb-0310-9956-ffa450edef68
2008-07-31 02:05:42 +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
Adrian Crum 1942cd9de9 ObjectType.java simpleTypeConvert(...) improvement - now converts Long to Date and back, and Long to Timestamp and back.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@681224 13f79535-47bb-0310-9956-ffa450edef68
2008-07-30 22:19:35 +00:00
Jacques Le Roux a6030a8823 A CSS patch from Bruno Busco, fix a wrap issue in screenlet
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@680852 13f79535-47bb-0310-9956-ffa450edef68
2008-07-29 21:40:22 +00:00
Jacques Le Roux febf82686b Undoing change committed in r680663. I completely Removed ORDER_SENT status which is unused OOTB and now simply hide it in UI.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@680675 13f79535-47bb-0310-9956-ffa450edef68
2008-07-29 11:33:51 +00:00
Jacques Le Roux e7219f3400 Removed ORDER_SENT status which was actually unused
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@680663 13f79535-47bb-0310-9956-ffa450edef68
2008-07-29 10:23:17 +00:00
Christian Geisert 8806f9bc28 German translations for party application
Submitted by Markus Studer
See OFBIZ-1896 (https://issues.apache.org/jira/browse/OFBIZ-1896)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@680262 13f79535-47bb-0310-9956-ffa450edef68
2008-07-28 06:52:33 +00:00
Adrian Crum 1abac6032d Style sheet cleanups.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@680104 13f79535-47bb-0310-9956-ffa450edef68
2008-07-27 13:45:04 +00:00
Jacques Le Roux a5afe62302 An enhancing patch from Sumit Pandit "At main page of the ecommerce show popup on mouse over at product image and/or link." (https://issues.apache.org/jira/browse/OFBIZ-1891) - OFBIZ-1891
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@680073 13f79535-47bb-0310-9956-ffa450edef68
2008-07-27 07:53:13 +00:00
Jacques Le Roux a2a6f2c745 Enhancement of the previous commit on " Matrix layout for Featured Products" (https://issues.apache.org/jira/browse/OFBIZ-1890) - OFBIZ-1890
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@680069 13f79535-47bb-0310-9956-ffa450edef68
2008-07-27 07:13:27 +00:00
Jacques Le Roux 0db45596a5 A slightly modified enhancing patch from Bruno Busco " Matrix layout for Featured Products" (https://issues.apache.org/jira/browse/OFBIZ-1890) - OFBIZ-1890
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@680068 13f79535-47bb-0310-9956-ffa450edef68
2008-07-27 06:33:34 +00:00
Jacques Le Roux e2ae2d5e84 New French labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@680064 13f79535-47bb-0310-9956-ffa450edef68
2008-07-27 03:50:15 +00:00
Jacques Le Roux ff3b3617d3 Better handling of bsh->groovy migration
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@680062 13f79535-47bb-0310-9956-ffa450edef68
2008-07-27 03:36:22 +00:00
Jacques Le Roux 88aa3dc618 Undoing change committed in r680047.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@680061 13f79535-47bb-0310-9956-ffa450edef68
2008-07-27 03:27:06 +00:00
Adrian Crum 5cfe8078e7 Slight change to the user preference services. Using the permission service on the getPreferences services threw an exception: user must be logged in. We might want to get default preferences before the user is logged in, so I moved the permission checking inside the getPreferences services.
Internationalization note: this commit contains a new UI label.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@680054 13f79535-47bb-0310-9956-ffa450edef68
2008-07-26 23:21:03 +00:00