Commit Graph
3778 Commits
Author SHA1 Message Date
Jacopo Cappellato af320519e0 Applied patch from Adrian Crum (OFBIZ-1422) to fix some cases where aliased entity fields were losing their description element.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@601072 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 20:27:19 +00:00
Adrian Crum dcf6a61c50 Improved entity reference screen - now has better field definitions. Based on discussion in https://issues.apache.org/jira/browse/OFBIZ-1425.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@601056 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 19:40:38 +00:00
Scott Gray 463d79858f Running a simple method bombs if you don't pass in a locale.
The other option was to get the default locale if one wasn't passed in when creating the MethodContext but I don't know much about that so I took the easy road :-)
On the bright side another one of the unit tests now passes.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600864 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 10:00:24 +00:00
Scott Gray ccc31cb640 Fixed invalid location
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600862 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 09:55:56 +00:00
Scott Gray 592b4a2229 Don't use getInParamNames because it returns a TreeSet which means the parameters are sorted by name rather than the order they are defined in the service def. The unit test for XML-RPC now passes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600834 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 08:35:04 +00:00
Scott Gray 212733027f getNextSeqId requires a valid entity name
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600830 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 08:16:36 +00:00
Adrian Crum 1367a57349 Updated Example component to new XML properties files. Two languages are still in need of conversion.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600647 13f79535-47bb-0310-9956-ffa450edef68
2007-12-03 19:48:39 +00:00
Jacques Le Roux 703bafe452 Typo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600355 13f79535-47bb-0310-9956-ffa450edef68
2007-12-02 18:44:18 +00:00
Jacques Le Roux 7e60f4cec9 A patch from Jeremy Wickersheimer "makeLoginUrl doesn't URL encode the strings" (https://issues.apache.org/jira/browse/OFBIZ-1199) - OFBIZ-1199
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600278 13f79535-47bb-0310-9956-ffa450edef68
2007-12-02 12:58:01 +00:00
Jacques Le Roux e56f73b1e1 Where RBE proves its usefulness (though CMSSite seems not yet used)
I double-checked changes in rev 600214. Just some instability when opening already open files with RBE outside of RBE and saving them without having saved files in RBE before

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600270 13f79535-47bb-0310-9956-ffa450edef68
2007-12-02 11:11:53 +00:00
Anil Patel cf5eef5c10 moved screenxml and screentext handlers from facility controller to common-controller so that they are available in wider scoop.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600251 13f79535-47bb-0310-9956-ffa450edef68
2007-12-02 06:00:51 +00:00
David E. Jones 2a3f7fe13a Some more backward compatibility to use getBytes if getBlob fails; gotta love JDBC
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600224 13f79535-47bb-0310-9956-ffa450edef68
2007-12-02 01:20:52 +00:00
Jacques Le Roux 828a4a3203 This fixes a problem in dropdowns using CommonGoTo (not localised). I moved CommonGoTo from eCommerce to Common because no components should rely on Ecommerce which is no really a "core application".
I used RBE to do the work (a breeze). There are a lot of false changes but don't worry, I checked them all (not a breeze). 
There are only 2 types of false
. properties not sorted (they are all sorted now)
. properties using lowercase for UTF8 encoding

I still thing that all properties should be sorted and should be using uppercase to avoid false changes. Anyway maybe soon we will not relay anymore on property files and this kind of inconveniences will not appear anymore.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600214 13f79535-47bb-0310-9956-ffa450edef68
2007-12-01 23:39:37 +00:00
Jacopo Cappellato 2dc6bc2c7b Disabled widget.verbose: it is breaking all the PDF reports. This is a temp fix but we will need to review this feature.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600205 13f79535-47bb-0310-9956-ffa450edef68
2007-12-01 22:37:42 +00:00
David E. Jones 0c171dd783 This is a fix for the lock wait timeout problem that was happening for large sets of orders and other high volume operations, and long-lived operations with lots of asynchronous service calls; this includes some diagnostic code to show the status of transactions in other threads when a lock wait timeout error is detected; the main fix here is a big cleanup of the concurrency handling in the JobManager and JobPoller objects, including the use of sleep instead of wait for more strict and consistent sync locking, and the use of different objects for locking different parts of that class since some are meant to be used by various other threads (like the queueNow and next methods) and others are only for the poller thread, like the run method; this also includes certain other small cleanups and improvements, like using FastList/FastMap more
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@600164 13f79535-47bb-0310-9956-ffa450edef68
2007-12-01 16:50:00 +00:00
Si Chen 57497c7c7c Print exceptions when a unit test fails.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@599939 13f79535-47bb-0310-9956-ffa450edef68
2007-11-30 20:08:47 +00:00
David E. Jones 5a4ee94bad Updated logo with new file from Ryan Borrowman, source and high res files are on docs.ofbiz.org
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@599756 13f79535-47bb-0310-9956-ffa450edef68
2007-11-30 09:41:33 +00:00
Jacques Le Roux c4ed583e5e Replaces the site name
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@599396 13f79535-47bb-0310-9956-ffa450edef68
2007-11-29 11:59:00 +00:00
David E. Jones 26e7099538 Applied patch from Adrian Crum in Jira OFBIZ-1442 to support a new format for localization in XML files
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@599356 13f79535-47bb-0310-9956-ffa450edef68
2007-11-29 09:37:10 +00:00
Si Chen 066013283b Report freemarker file not found error to the screen so we don't have to dig through a very messy log to find it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@598813 13f79535-47bb-0310-9956-ffa450edef68
2007-11-27 23:12:00 +00:00
Jacques Le Roux ac9c5853ae A patch from Michael Brohl "StringUtil.htmlSpecialChars: ampersand replaced with "&amps;" instead of "&"" (https://issues.apache.org/jira/browse/OFBIZ-1431) - OFBIZ-1431
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@598679 13f79535-47bb-0310-9956-ffa450edef68
2007-11-27 15:51:01 +00:00
David E. Jones 39e6c63453 Added Uoms for special cases; technically the Each uom is assumed if there is no uom, but with this can make explicit, or qualify wi no uom specific, but with this can be explicit or qualified further with something like the per person
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@598575 13f79535-47bb-0310-9956-ffa450edef68
2007-11-27 09:53:04 +00:00
Hans Bakker 04c050c864 avoid index out of range error on display type=date form field
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@598519 13f79535-47bb-0310-9956-ffa450edef68
2007-11-27 05:26:35 +00:00
Hans Bakker 9180f6441b corrected description of previous commit
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@598505 13f79535-47bb-0310-9956-ffa450edef68
2007-11-27 03:12:34 +00:00
Hans Bakker cd0f0bfada OFBIZ-1430 only show date part of a timestamp in the form display
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@598492 13f79535-47bb-0310-9956-ffa450edef68
2007-11-27 02:18:08 +00:00
Jacques Le Roux 7c8310a68a A slightly modified patch from Adrian Crum "Enable HTML whitespace removal through debug.properties element" (https://issues.apache.org/jira/browse/OFBIZ-1420) - OFBIZ-1420
I finally uncommented the line widget.verbose=true in widget.properties and put an help in http://docs.ofbiz.org/display/OFBTECH/Apache+OFBiz+Technical+Production+Setup+Guide#ApacheOFBizTechnicalProductionSetupGuide-Widgetssetting

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@598362 13f79535-47bb-0310-9956-ffa450edef68
2007-11-26 17:58:54 +00:00
Alfred Maxwell Byers ed0af26bfc Added matching MapStack pop per Jonathon's suggestion.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@598361 13f79535-47bb-0310-9956-ffa450edef68
2007-11-26 17:49:09 +00:00
Jacques Le Roux aafab5d951 To avoid NPEs in Webtools/Minerva Connection Info (did not look further to check if it works fine)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@598288 13f79535-47bb-0310-9956-ffa450edef68
2007-11-26 14:30:44 +00:00
Jacopo Cappellato 97f25673f4 Added Xalan jars from Fop 0.94 distribution: they are required, due to a bug in FOP (see http://issues.apache.org/bugzilla/show_bug.cgi?id=43542) when user defined fonts are used.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@598214 13f79535-47bb-0310-9956-ffa450edef68
2007-11-26 10:44:18 +00:00
Hans Bakker 473745822e make the form input field:<date-time type=date/> working
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@597818 13f79535-47bb-0310-9956-ffa450edef68
2007-11-24 06:43:50 +00:00
Jacques Le Roux f520931be7 Slightly modified annotation/documentation for complex-alias from Skip Dever proposition in "Additional documentation for View entities"https://issues.apache.org/jira/browse/OFBIZ-1419
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@597488 13f79535-47bb-0310-9956-ffa450edef68
2007-11-22 21:03:57 +00:00
Jacopo Cappellato 9be11dc39d Implemented new signature (that accepts a parameters Map instead of an HttpServletRequest) for the util method: makeParamMapWithPrefix.
Added code to the ShoppingCartHelper..addToCart method to prepare a map of additiona features for the cart (if additional features are selected during order entry).


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@597166 13f79535-47bb-0310-9956-ffa450edef68
2007-11-21 18:10:04 +00:00
Adrian Crum cab8514182 Entity Reference PDF file generation code. I have the main page link commented out until we can solve the issue brought up in https://issues.apache.org/jira/browse/OFBIZ-1401.
Anyone wanting to generate the document can go to this link: https://127.0.0.1:8443/webtools/control/view/entityrefReport Be patient, it will take a very long time (1+ hours).



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@596885 13f79535-47bb-0310-9956-ffa450edef68
2007-11-21 00:05:44 +00:00
Adrian Crum 536faf9569 Updated the Webtools services to use the new description methods in the entity classes (Revision 596815). The Entity Reference page now contains much more documentation.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@596821 13f79535-47bb-0310-9956-ffa450edef68
2007-11-20 20:52:05 +00:00
Jacopo Cappellato 7fd19bc319 Added support for the <description> element to the ModelChild class, which all of ModelField, ModelIndex, and ModelRelation extend.
Thanks to Adrian Crum for the patch: OFBIZ-1389

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@596815 13f79535-47bb-0310-9956-ffa450edef68
2007-11-20 20:35:35 +00:00
Jacques Le Roux 899869b867 Addition in .classpath file from Yin T's and Marco Risaliti's suggestions "Change /ofbiz/.classpath for clean compile in Eclipse" (https://issues.apache.org/jira/browse/OFBIZ-1412) - OFBIZ-1412
I renumbered the ant-junit.jar lib (it's 1.7.0) and I added it in http://docs.ofbiz.org/display/OFBADMIN/Libraries+Included+in+OFBiz
I saw that also some other Apache libs are not numbered, did not take the time to do it...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@596597 13f79535-47bb-0310-9956-ffa450edef68
2007-11-20 10:09:36 +00:00
Jacques Le Roux 0dbf1e9425 A patch from Paulo Cristo "ramework/base and framework/common translation to portuguese" (https://issues.apache.org/jira/browse/OFBIZ-1390) - OFBIZ-1390
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@596576 13f79535-47bb-0310-9956-ffa450edef68
2007-11-20 08:54:29 +00:00
Adrian Crum e14dd8654f Minor layout changes in the Example component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@596552 13f79535-47bb-0310-9956-ffa450edef68
2007-11-20 06:47:40 +00:00
Anil Patel e0cd2e1738 Providing EventMessages as a screen by itself. Added it to view in controller so it can be used in response to error condition in request process.
It will come handy when partial screen is updated in response to Ajax request.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@595883 13f79535-47bb-0310-9956-ffa450edef68
2007-11-17 00:27:12 +00:00
Anil Patel 65979545f5 Javascript library and supporting css to display progress bar.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@595619 13f79535-47bb-0310-9956-ffa450edef68
2007-11-16 10:53:38 +00:00
Si Chen ecd3e70977 Fix problem in unit test framework where the stacktrace is not printed, thus making it very hard to find the source of a test failure due to an Exception.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@595025 13f79535-47bb-0310-9956-ffa450edef68
2007-11-14 19:55:41 +00:00
Jacopo Cappellato 3f27fed7e7 Upgrade to FOP 0.94 (that requires xmlgraphics-commons-1.2.jar): this is the latest stable release.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@594465 13f79535-47bb-0310-9956-ffa450edef68
2007-11-13 09:47:54 +00:00
Andrew Zeneski 925185eabc service to check status of file uploads
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@594443 13f79535-47bb-0310-9956-ffa450edef68
2007-11-13 05:59:47 +00:00
David E. Jones d16b818a2a Fixed bad XML from recent commit in r594077
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@594207 13f79535-47bb-0310-9956-ffa450edef68
2007-11-12 16:44:01 +00:00
Jacques Le Roux 76d9f6bfc2 A patch from Adrian Crum "Improved UtilDateTime.java, Framework Default TimeZone Suppor, with getMonthNames also" (https://issues.apache.org/jira/browse/OFBIZ-1377) - OFBIZ-1377
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@594088 13f79535-47bb-0310-9956-ffa450edef68
2007-11-12 11:50:09 +00:00
Jacques Le Roux 422ebdc44c From Derryck Welas's comment in "Firebird 2.0 config improvement" (https://issues.apache.org/jira/browse/OFBIZ-1012) OFBIZ-1012
I kept as comment old jdbc and login/pwd configuration (seems to be not platform independent)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@594077 13f79535-47bb-0310-9956-ffa450edef68
2007-11-12 10:34:22 +00:00
Jacques Le Roux b6b7c017c8 A patch from Adrian Crum "Screen widget show where code came from in html" (https://issues.apache.org/jira/browse/OFBIZ-1318) - OFBIZ-1318
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@594042 13f79535-47bb-0310-9956-ffa450edef68
2007-11-12 08:06:40 +00:00
Anil Patel 14d45b24b5 updated prototype to 1.6 and scriptaculous to 1.8
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@594033 13f79535-47bb-0310-9956-ffa450edef68
2007-11-12 06:14:48 +00:00
David E. Jones acc9d75aec Small improvement to show default values, where applicable
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@593860 13f79535-47bb-0310-9956-ffa450edef68
2007-11-11 08:37:39 +00:00
Jacopo Cappellato 2659c05f3d Fix to prevent grammar validation error.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@593741 13f79535-47bb-0310-9956-ffa450edef68
2007-11-10 07:07:27 +00:00