Commit Graph
2896 Commits
Author SHA1 Message Date
David E. Jones a97dcc600a Added further support for javolution ObjectFactory which will bring the efficiency improvements that along with syntax cleanup are part of this whole factory method effort
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@660850 13f79535-47bb-0310-9956-ffa450edef68
2008-05-28 07:58:13 +00:00
David E. Jones 82df3529e2 More cleanups of now deprecated constructors and what what
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@660840 13f79535-47bb-0310-9956-ffa450edef68
2008-05-28 07:16:36 +00:00
Jacopo Cappellato fbc52e02dc Several improvements to the Italians labels by Bruno Brusco: OFBIZ-1805
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@660816 13f79535-47bb-0310-9956-ffa450edef68
2008-05-28 05:38:39 +00:00
David E. Jones b9d6f8b524 Changed EntityExpr and EntityFunction subclasses to use the factory instead of constructor pattern, plus moved EntityExpr to EntityCondition factory methods; a number of EntityExpr cleanups, but many more to go
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@660812 13f79535-47bb-0310-9956-ffa450edef68
2008-05-28 05:20:09 +00:00
David E. Jones 3543d6abe3 Changed the way EntityCondition sub-classes work so they use the javolution Reusable class for recycling objects; now all conditions should be created using the factory methods on the EntityCondition object instead of the direct constructors; there is a small variety of classes available there now for ease of use; also changed a bunch of old code to not use the deprecated constructors; note that still need to do a pass similar to this on EntityExpr
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@660780 13f79535-47bb-0310-9956-ffa450edef68
2008-05-28 01:58:46 +00:00
David E. Jones c434fd1614 Based on some comments from Joe Eckard and looking at the source for GroovyScriptEngine to see what it caches this now caches and runs based on parsed scripts, increasing performance
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@660695 13f79535-47bb-0310-9956-ffa450edef68
2008-05-27 20:44:13 +00:00
David E. Jones 76196922b9 Fixed issue with groovy where if Script was cached the context was ignored; note that I could not find a thread safe way to run a parsed script, so this versio only caches the script text; need to find a way to parse just the script and run from the cache; the performance in this isn't terrible, but isn't good either
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@660228 13f79535-47bb-0310-9956-ffa450edef68
2008-05-26 16:52:54 +00:00
David E. Jones dd61115acd Moving jpim from marketing to base to be more reusable
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@660123 13f79535-47bb-0310-9956-ffa450edef68
2008-05-26 08:38:02 +00:00
Jacopo Cappellato b58053df4b For backward compatibility we load the html platform-dependent template if the one for xsl-fo is not found.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@660108 13f79535-47bb-0310-9956-ffa450edef68
2008-05-26 06:37:58 +00:00
Jacopo Cappellato b1bd619d66 Set correct template type for xsl-fo platform dependent templates: this is now required because the platform-dependent element can now accept different templates for different types.
Thanks to Jacques Le Roux for the report.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@660107 13f79535-47bb-0310-9956-ffa450edef68
2008-05-26 06:25:57 +00:00
Hans Bakker 46f2c7239f typo in main tab bar
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@660067 13f79535-47bb-0310-9956-ffa450edef68
2008-05-26 00:56:30 +00:00
Jacques Le Roux c0e1247771 A fix suggested by Bilgin from a Bruno's message in dev ML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@659979 13f79535-47bb-0310-9956-ffa450edef68
2008-05-25 13:00:33 +00:00
Jacques Le Roux d403834733 Some small enhancements
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@659966 13f79535-47bb-0310-9956-ffa450edef68
2008-05-25 11:40:18 +00:00
Hans Bakker 5c1efd4679 allow the menu usage also in a column: see the sfa component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@659942 13f79535-47bb-0310-9956-ffa450edef68
2008-05-25 09:13:52 +00:00
Jacopo Cappellato 15d63246d6 Added support for xsl-fo and xml templates to the platform-specific screen widget element. Now it is possible to define the same screen that can be rendered with different renderers. An example of this is the SimpleDecorator that is now used to render simple PDF report (xsl-fo), xml export and printer friendly html output. You can test it in the Edit Example screen (and some other screens as well): the PDF and Printer Friendly links in that page both share the same screen definition. Misc fixes to the widget FO and XML renderers, for issues found while testing.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@659935 13f79535-47bb-0310-9956-ffa450edef68
2008-05-25 08:00:10 +00:00
Scott Gray 75a4f5676b Fix for OFBIZ-1802 reported by Ashish Vijaywargiya, Error in Data File Tool. The uiLabelMap was being used in the bsh script without being defined.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@659870 13f79535-47bb-0310-9956-ffa450edef68
2008-05-24 20:32:31 +00:00
Jacques Le Roux a6b690558f Hopefully last missing common French labels
I will try when I will use Bruno's python scripts to create from them generic tools to check some aspects of localisation
For instance, which labels are missing in a languages, other ideas ?

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@659819 13f79535-47bb-0310-9956-ffa450edef68
2008-05-24 13:29:03 +00:00
Jacques Le Roux 2a0d94bece Some more and better french labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@659801 13f79535-47bb-0310-9956-ffa450edef68
2008-05-24 12:10:55 +00:00
Scott Gray b7b80f9cac Removed an eca which was causing testScv to fail
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@659789 13f79535-47bb-0310-9956-ffa450edef68
2008-05-24 10:49:20 +00:00
Scott Gray b28727bcca Removed auth="true" from 2 test services, one of them is on an eca from another test service that doesn't require auth
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@659764 13f79535-47bb-0310-9956-ffa450edef68
2008-05-24 08:00:35 +00:00
Jacopo Cappellato 1d44046832 Fix for security hole I have introduced while working on the Ajax autocompleter fields.
This is a temporary approach that can be improved.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@659658 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 20:57:27 +00:00
Jacques Le Roux 53603d4e58 A small french label fix
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@659536 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 13:32:16 +00:00
Jacques Le Roux 81a2fe0192 Few important new labels (AP & AR)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@659524 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 12:56:42 +00:00
Jacopo Cappellato cfd0f1c0c8 Upgrade to Tomcat 6
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@659490 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 10:26:46 +00:00
Jacopo Cappellato 27bdcf64db Continued work done by Anil Patel about implementation of Ajax.Autocompleter enhancement for form widget text box.
There is now a generic screen (and controller entries) that can be used by Ajax autocompleter fields.
See the example in the example component.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@659488 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 10:10:48 +00:00
Anil Patel 9ded85445a Fist pass of implementation of Ajax.Autocompleter enhancement for form widget text box. I'll be working on improving this over next few days.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@659454 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 06:54:15 +00:00
Anil Patel a7d9e6b9b8 Bug fix.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@659412 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 04:19:01 +00:00
Anil Patel 7a2b7d62c8 css used by effects using scriptaculous controls.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@659340 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 00:37:49 +00:00
Jacques Le Roux 66f3699ad7 Upgrade to Derby 10.4.1.3 from 10.3.1.4 from a recommendation of the Derby project
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@659237 13f79535-47bb-0310-9956-ffa450edef68
2008-05-22 20:19:14 +00:00
Jacques Le Roux 8f77178746 Some sparse French labels enhancement
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@659091 13f79535-47bb-0310-9956-ffa450edef68
2008-05-22 12:24:01 +00:00
Jacques Le Roux 78cf168a93 Some sparse French labels fix, more to come...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@659058 13f79535-47bb-0310-9956-ffa450edef68
2008-05-22 09:15:27 +00:00
Jacques Le Roux 12946531f9 Some sparse French labels fix, more to come...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@659057 13f79535-47bb-0310-9956-ffa450edef68
2008-05-22 09:14:31 +00:00
Jacques Le Roux a1bf6540a6 Use (new) ${uiLabelMap.CommonNbr} instead of # and ${uiLabelMap.OrderNbr}. Suppressed EcommerceNbr was not used
More and better French labels in Order (work in progress...)
Some sparse labels fix in Product

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@659052 13f79535-47bb-0310-9956-ffa450edef68
2008-05-22 09:02:28 +00:00
Jacques Le Roux e6fd79e393 Better french translation and fix some labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@658594 13f79535-47bb-0310-9956-ffa450edef68
2008-05-21 08:26:34 +00:00
Adrian Crum 331c1aae47 Improved Find screen decorator.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@658468 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 22:37:06 +00:00
Adrian Crum e0ff3ccfed Some Ajax fixups.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@658467 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 22:35:52 +00:00
Jacques Le Roux 3e9714f10a Labels cleaning an enhancing
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@658462 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 22:07:51 +00:00
David E. Jones fd0c04be7a Fixed NPE introduced in a recent commit, reported by BJ Freeman
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@658420 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 20:43:01 +00:00
Jacques Le Roux 11acdcacc2 Labels cleaning an enhancing
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@658358 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 17:44:52 +00:00
Adrian Crum a740aa2ad5 Small fixups for last commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@658351 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 17:12:35 +00:00
Adrian Crum 6aea39757d Improved screen widget Ajax support.
The original Ajax work was a great start, but there were limitations. These changes open things up a bit: 1) Ajax rendering falls back to plain HTML when the user has JavaScript disabled. 2) You can have more than one area updated during an event.

IE7 updates only <div> elements, so be aware of that when using the Ajax feature.

See the Example component for a demonstration.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@658281 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 15:33:22 +00:00
Jacques Le Roux 5c20ab0b7b Comments about Security Manager and stopping when debugging
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@658267 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 14:58:37 +00:00
Hans Bakker 626f2a68c0 add 2 fields to request overview screen
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@658180 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 09:49:03 +00:00
David E. Jones e4804fe553 Applied patch from Bilgin Ibryam in Jira #OFBIZ-1756 to extend the support for by hours and by days in recurrence info and use them as part of conditions for promotions
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@658108 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 05:48:51 +00:00
Adrian Crum a3536990f1 Locale and Time Zone refactor and bug fixes.
1. Modified the Start class to initialize the JVM default locale and time zone - configurable through start.properties. Removed calls to UtilDateTime.getDefaultTimeZone() - no longer needed.

2. Changed all calls to ObjectType.simpleTypeConvert(...) that didn't supply the necessary Locale and TimeZone objects. This fixes a lot of localization issues, https://issues.apache.org/jira/browse/OFBIZ-1696 being one of them.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@658045 13f79535-47bb-0310-9956-ffa450edef68
2008-05-19 23:50:14 +00:00
David E. Jones 3390557685 Some improvements for the groovy example script, simplify and use some cool groovy stuff
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@657735 13f79535-47bb-0310-9956-ffa450edef68
2008-05-19 06:58:10 +00:00
David E. Jones a713ad4bd7 Added support for groovy services, and an example of the same; cleaned up the way that bsh services work and updated the example and such to match, now returns a context as one would expect
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@657701 13f79535-47bb-0310-9956-ffa450edef68
2008-05-19 00:22:46 +00:00
David E. Jones 20b7c98bb0 Added note about service def cache clearing, which works if done manually but not doing automatically because it results in reloading all service defs which is slow and causes BIG log messages
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@657700 13f79535-47bb-0310-9956-ffa450edef68
2008-05-19 00:20:25 +00:00
David E. Jones f3e72adfbc Added some missing libraries needed to run groovy scripts
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@657666 13f79535-47bb-0310-9956-ffa450edef68
2008-05-18 22:35:59 +00:00
David E. Jones d60415c2cb Added groovy support, implemented by Joe Eckard in jira #OFBIZ-1779; includes an example EditProductFeatures.groovy file showing somatures.groovy file showing some nice groovy syntax features, especially for Maps and Lists, though it isn't on by default yet in this commit, ie bsh still used
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@657645 13f79535-47bb-0310-9956-ffa450edef68
2008-05-18 21:57:07 +00:00