Commit Graph
1959 Commits
Author SHA1 Message Date
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
Jacques Le Roux 58a88148db bsh -> groovy conversion
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@680047 13f79535-47bb-0310-9956-ffa450edef68
2008-07-26 21:05:02 +00:00
Jacques Le Roux 78b3a22c59 A fixing patch from J.Enrique Ruiz "Data File bug fixed (CONTRIBUTION)" (https://issues.apache.org/jira/browse/OFBIZ-1888) - OFBIZ-1888
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@680046 13f79535-47bb-0310-9956-ffa450edef68
2008-07-26 21:01:21 +00:00
Adrian Crum cd6b23e3fd Added parentFacilityId to the Facility entity.
I added a CommonEntityChildren UI label to CommonUiLabels.xml because a number of components implement parent->child relationships and they all have their own "Children" UI label. This will help reduce UI label redundancy. I'll make the change in the other components in another commit.

Internationalization note: this commit contains new UI labels.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@680016 13f79535-47bb-0310-9956-ffa450edef68
2008-07-26 17:15:12 +00:00
Jacques Le Roux bb4aa64f7a A fixing patch from Mridul Pathak "Implement Ajax.InPlaceEditor for display field in Form Widget" (https://issues.apache.org/jira/browse/OFBIZ-1859) - OFBIZ-1859
Some work still needed (strange behaviour at least reproductible on Opera 9.02)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@679980 13f79535-47bb-0310-9956-ffa450edef68
2008-07-26 11:55:14 +00:00
Jacques Le Roux 46d33fe5c0 A fixing patch from Mridul Pathak "Implement Ajax.InPlaceEditor for display field in Form Widget" (https://issues.apache.org/jira/browse/OFBIZ-1859) - OFBIZ-1859
Some work still needed it seems


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@679975 13f79535-47bb-0310-9956-ffa450edef68
2008-07-26 09:47:13 +00:00
Adrian Crum 357126cb3a Collapsible screenlet bug fix.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@679923 13f79535-47bb-0310-9956-ffa450edef68
2008-07-25 23:05:21 +00:00
Andrew Zeneski 6eb07f0014 added flag to disable the cached classloader; conflicts with certain libraries which plug into the servlet container (i.e. JSF)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@679876 13f79535-47bb-0310-9956-ffa450edef68
2008-07-25 18:43:45 +00:00
Jacopo Cappellato 2f0cf9ef44 Layout enhancements for tree widgets.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@679828 13f79535-47bb-0310-9956-ffa450edef68
2008-07-25 15:04:52 +00:00
Jacopo Cappellato e4609c411a Misc cleanups to the widget tree code, still a lot to do to improve the readability of the code but this is hopefully a small step in that direction.
Most of all, I have fixed a small issue that was preventing to work the first click (after visiting the page) for the expansion of a node.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@679798 13f79535-47bb-0310-9956-ffa450edef68
2008-07-25 13:22:46 +00:00
Jacques Le Roux 70aac086a4 Thanks to Bruno, this fixes "There is currently something wrong in how the main eComm page is rendered in, at least, FF3 and Opera 9.02 (IE7 is ok)" (https://issues.apache.org/jira/browse/OFBIZ-1894) - OFBIZ-1894
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@679692 13f79535-47bb-0310-9956-ffa450edef68
2008-07-25 07:49:27 +00:00
Jacopo Cappellato a23589412a Added select box to filter entities by group, for example useful ootb to quickly see all the entities related to the BI component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@679456 13f79535-47bb-0310-9956-ffa450edef68
2008-07-24 16:40:18 +00:00
Jacopo Cappellato fa9f0a3253 The default-group-name is now returned by the group name methods of ModelGroupReader.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@679331 13f79535-47bb-0310-9956-ffa450edef68
2008-07-24 09:43:27 +00:00
David E. Jones 32c9cdf316 One more enhancement to entity-auto to automatically handle the oldStatusId OUT population and checking StatusValidChange for status changes; note that this does nothing to keep a status history, that should be done in a custom service called by SECA rule
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@679301 13f79535-47bb-0310-9956-ffa450edef68
2008-07-24 08:24:43 +00:00
David E. Jones 987d4fc1a0 Expanded entity-auto engine to support auto fromDate; a bunch more changes to example component services to eliminate implementations possible so far; now there are just a few left
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@679288 13f79535-47bb-0310-9956-ffa450edef68
2008-07-24 07:08:10 +00:00
Adrian Crum ba0b7a06cf Fixed UI label error.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@679159 13f79535-47bb-0310-9956-ffa450edef68
2008-07-23 18:45:02 +00:00
Jacopo Cappellato eff5b1e697 Formatting fixes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@679127 13f79535-47bb-0310-9956-ffa450edef68
2008-07-23 16:48:00 +00:00
Jacopo Cappellato bfcdd9cd47 Misc code cleanups: formatting fixes, renamed some variables, removed useless code.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@679126 13f79535-47bb-0310-9956-ffa450edef68
2008-07-23 16:42:32 +00:00
Jacopo Cappellato 8e1390b872 Formatting fixes and misc cleanups (removed unused entries from the context).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@679078 13f79535-47bb-0310-9956-ffa450edef68
2008-07-23 11:48:03 +00:00
David E. Jones 2ccff0b5d8 An option I've resisted for a while due to limited flexibility when used, but we have a lot of these common cases so this may be worth it; can now define CrUD services and not have to implement them for common cases; the create, update, and delete ExampleItem services now use this entity-auto implementation instead of explicit simple-methods; those are tested and are working, and other variations on create should too but I haven't tested them yet; this also includes various refactorings to expose nderlying tools in simple method code and make it reusable
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@679058 13f79535-47bb-0310-9956-ffa450edef68
2008-07-23 10:24:58 +00:00