Commit Graph
10472 Commits
Author SHA1 Message Date
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
Anil Patel 5caf854fd6 Updated scriptaculous.js to 1.8.1
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@657319 13f79535-47bb-0310-9956-ffa450edef68
2008-05-17 08:11:13 +00:00
Anil Patel 561cc1e9af 1.6.0.2 version of PrototypeJs library
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@657309 13f79535-47bb-0310-9956-ffa450edef68
2008-05-17 07:50:40 +00:00
Adrian Crum 5bd8a77531 A couple of small fixups for the Ajax support.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@656693 13f79535-47bb-0310-9956-ffa450edef68
2008-05-15 15:05:38 +00:00
David E. Jones 050bbde29a Reverted fix from Hans that effectively disabled the method to remove the hash type prefix, and fixed the userLogin service code to and fixed the userLogin service code to remove the prefix from the db currentPassword value, which was missing and was causing the problem
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@656515 13f79535-47bb-0310-9956-ffa450edef68
2008-05-15 06:10:50 +00:00
Adrian Crum 8280c3c643 Some Ajax JavaScript helper functions. See https://issues.apache.org/jira/browse/OFBIZ-1648 for details.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@656329 13f79535-47bb-0310-9956-ffa450edef68
2008-05-14 16:32:00 +00:00
Hans Bakker 0955b594c2 a better fix than rev 656100
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@656175 13f79535-47bb-0310-9956-ffa450edef68
2008-05-14 09:22:54 +00:00
Hans Bakker 2e43e295da corrected password entry problem
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@656100 13f79535-47bb-0310-9956-ffa450edef68
2008-05-14 04:43:13 +00:00
Andrew Zeneski 5095e4e09f added support for third party policy servicers; setting the userLoginId in a request header, ofbiz will assume the user has already been authenticated and log the user in.
This is DISABLED by default (see security.properties) be sure your policy server is running in front of ofbiz to avoid security issues (spoofing).

Jira: OFBIZ-1781


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@656008 13f79535-47bb-0310-9956-ffa450edef68
2008-05-13 20:59:03 +00:00
Adrian Crum 4195b35a78 Added JavaScript detection to the framework. See https://issues.apache.org/jira/browse/OFBIZ-1648.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@655712 13f79535-47bb-0310-9956-ffa450edef68
2008-05-13 02:25:55 +00:00
Adrian Crum 14dcf6a65a Small fixup for last commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@655616 13f79535-47bb-0310-9956-ffa450edef68
2008-05-12 19:39:48 +00:00
Adrian Crum 3cbe1f844e Might as well make the default view size configurable.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@655606 13f79535-47bb-0310-9956-ffa450edef68
2008-05-12 19:13:00 +00:00
Adrian Crum 4fddac4c67 Implemented page size defaults for the form widget lists. Some code was already there, but it wasn't being used.
The form widget defaults to 10 items per page. That setting can be changed with the <form> element view-size attribute.

This commit eliminates the need for setting VIEW_SIZE and VIEW_INDEX parameters in the screen definition. I updated an Accounting screen in this commit to demonstrate.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@655550 13f79535-47bb-0310-9956-ffa450edef68
2008-05-12 16:29:30 +00:00
Jacques Le Roux 7bc9ed838f Some French labels changes and a little cleaning around
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@655547 13f79535-47bb-0310-9956-ffa450edef68
2008-05-12 16:18:56 +00:00
Scott Gray 5560235815 Removed calls to the following deprecated GenericDelegator methods from all bsh files:
findCountByAnd
findCountByCondition
findListIteratorByCondition

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@655456 13f79535-47bb-0310-9956-ffa450edef68
2008-05-12 10:03:50 +00:00
Scott Gray 9bc49a5ce1 Removed calls to deprecated findByPrimaryKey* GenericDelegator methods from all bsh files
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@655449 13f79535-47bb-0310-9956-ffa450edef68
2008-05-12 09:21:26 +00:00
Scott Gray fd2ed91001 Removed calls to the 2 deprecated findByAnd GenericDelegator methods from all bsh and ftl files plus some java ones in the shark component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@655287 13f79535-47bb-0310-9956-ffa450edef68
2008-05-11 09:37:21 +00:00
David E. Jones 349f9518ca Removed deprecate from DynamicViewEntity call; was a little too aggressive on that; thanks to Scott for the heads up
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@655242 13f79535-47bb-0310-9956-ffa450edef68
2008-05-11 04:55:54 +00:00
Scott Gray db43c9ca64 Removed calls to the deprecated findAll GenericDelegator methods from all bsh and ftl files plus some java ones in the shark component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@655238 13f79535-47bb-0310-9956-ffa450edef68
2008-05-11 04:32:54 +00:00
Scott Gray 153653615b Removed the rest of the calls to deprecated GenericDelegator methods, except for the findListIteratorByCondition which takes a DynamicViewEntity as a parameter not sure what to do about that one.
There's still all the bsh files to check though.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@655235 13f79535-47bb-0310-9956-ffa450edef68
2008-05-11 03:29:04 +00:00
Scott Gray 0792342f2a Removed more calls to deprecated GenericDelegator methods
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@655016 13f79535-47bb-0310-9956-ffa450edef68
2008-05-10 06:24:19 +00:00
Scott Gray c182253d73 Removed more calls to deprecated GenericDelegator methods
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@655013 13f79535-47bb-0310-9956-ffa450edef68
2008-05-10 05:35:16 +00:00
Adrian Crum f511bb5f9f These aren't needed anymore. Freemarker knows the user's locale and time zone.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@654984 13f79535-47bb-0310-9956-ffa450edef68
2008-05-10 00:10:07 +00:00
Adrian Crum 47949adcfc Somehow this got missed in a previous commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@654983 13f79535-47bb-0310-9956-ffa450edef68
2008-05-10 00:09:09 +00:00
Scott Gray daeadc7442 Removed more calls to deprecated GenericDelegator methods
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@654934 13f79535-47bb-0310-9956-ffa450edef68
2008-05-09 20:57:23 +00:00