Adam Heath
72802d2011
Move ofbiz.system.props handling from main() to init(); the former
...
calls the latter, but when this class is run underneath jsvc, main is
never called, only init(). So, the system properties were never
loaded.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@766207 13f79535-47bb-0310-9956-ffa450edef68
2009-04-18 03:20:32 +00:00
Adam Heath
d4e0796ef5
Add a feature for setting any system property by reading from a file.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@766193 13f79535-47bb-0310-9956-ffa450edef68
2009-04-18 01:07:54 +00:00
Jacques Le Roux
2ca2feef1a
Changes from Erwan de FERRIERES "Upgrade of the fop library (0.94 -> 0.95)" https://issues.apache.org/jira/browse/OFBIZ-2317 - OFBIZ-2317
...
+ LICENCE updated (libraries wiki page also updated)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@766125 13f79535-47bb-0310-9956-ffa450edef68
2009-04-17 19:42:46 +00:00
Jacopo Cappellato
7d4a9baf80
Added missing "
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@766015 13f79535-47bb-0310-9956-ffa450edef68
2009-04-17 14:02:20 +00:00
Hans Bakker
4e04f14ae9
OFBIZ-2314
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@765933 13f79535-47bb-0310-9956-ffa450edef68
2009-04-17 10:20:28 +00:00
David E. Jones
5bbcd23a1c
Too many issues with smoothfeather, for now bluelight looks like a good default theme
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@765906 13f79535-47bb-0310-9956-ffa450edef68
2009-04-17 08:48:48 +00:00
Adrian Crum
9a753b9865
Fixed a problem where service definitions were using "GenericValue" as attribute types, but that threw exceptions because the service definitions needed the full class name - "org.ofbiz.entity.GenericValue". The problem was reported in https://issues.apache.org/jira/browse/OFBIZ-2268 and https://issues.apache.org/jira/browse/OFBIZ-2311 .
...
I checked the commit logs and I don't see what changed to cause these services to stop working, so I took the shotgun approach and changed all occurrences of GenericValue service attributes.
If anyone has a better solution, please feel free to revert this commit and change it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@765864 13f79535-47bb-0310-9956-ffa450edef68
2009-04-17 06:33:43 +00:00
David E. Jones
32e673754a
Moved old default theme data and files to new flatgrey theme; small corrections for use of messages.ftl; added setting in general.properties for the default theme ID; changed default theme to smoothfeather
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@765862 13f79535-47bb-0310-9956-ffa450edef68
2009-04-17 06:29:09 +00:00
Adam Heath
77a45da3c7
Switch to the newly introduced GenericDispatcher.newInstance variant.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@765738 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 20:06:54 +00:00
Adam Heath
886e885d39
Add a newInstance() variant that takes a collection of reader urls.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@765737 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 20:06:18 +00:00
Jacopo Cappellato
af876f1aa0
Migrated to the form widget macro renderer the code that adds ajax support to submit buttons.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@765674 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 16:11:53 +00:00
Jacopo Cappellato
f18cea546b
Fixed wrong macro call.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@765669 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 15:36:53 +00:00
Jacopo Cappellato
970b1d20b6
Small fixes to the menu item highlighted.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@765659 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 15:01:53 +00:00
Andrew Zeneski
706e4d5e21
minor changes to better understand why an email may fail to be sent; specific excpetions are now caught
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@765476 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 05:55:51 +00:00
Jacopo Cappellato
bbb538d602
Small change to avoid warning messages in console.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@765464 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 05:07:26 +00:00
Andrew Zeneski
a13cf52485
added marketing email purpose type; cleaned up the contact list send communication UI (added field-groups and made less used items hidden in a collapsed group) set a bunch of default values on the communication event.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@765377 13f79535-47bb-0310-9956-ffa450edef68
2009-04-15 21:38:25 +00:00
Adrian Crum
6e85ea167b
Added "NewList" and "NewMap" options to the <set> element type attribute. Now screen widgets and mini-language support the creation of empty Lists and Maps.
...
Usage:
<set field="theList" type="NewList"/>
<set field="theMap" type="NewMap"/>
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@765284 13f79535-47bb-0310-9956-ffa450edef68
2009-04-15 17:44:47 +00:00
David E. Jones
ba72c5edf8
Reverted change to prefix all sequenced IDs; new change to ofbiz extensions of UEL from Adrian should fix issues there, and this isn't needed in general
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@765067 13f79535-47bb-0310-9956-ffa450edef68
2009-04-15 07:15:45 +00:00
Scott Gray
7531687fdd
OFBIZ-2259: Implemented test data rollback per test-suite using the GenericDelegator
...
Provides the following benefits:
1. Test data independence per component suite
2. Ability to run tests repeatedly without reloading the database
3. Continued database independence for the testing tools
4. The possibility of future improvements for controlling when data is rolled back (per unit test, group of unit tests within a suite or
even tree structured tests where data is partially rolled back before continuing)
5. The future possibility to export data changes resulting from a test run
6. The future possibility to verify a test result automatically based on the output of #4
The rollback currently doesn't catch changes resulting from async service calls and also doesn't rollback changes to SequenceValueItem
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@765057 13f79535-47bb-0310-9956-ffa450edef68
2009-04-15 06:01:36 +00:00
Adrian Crum
35b8c43e36
Changes to the UEL classes - should fix the auto-vivify issues. Removed the UEL functions that were a workaround.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@764992 13f79535-47bb-0310-9956-ffa450edef68
2009-04-14 22:53:59 +00:00
Adam Heath
d5cd156761
Add image handling stuff, forgot this for the first checkin.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@764982 13f79535-47bb-0310-9956-ffa450edef68
2009-04-14 22:13:17 +00:00
David E. Jones
b502c14948
Small change to have a prefix for all sequenced IDs by default
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@764947 13f79535-47bb-0310-9956-ffa450edef68
2009-04-14 20:50:23 +00:00
David E. Jones
04b2b7a473
Changed to load secas for example component, was causing the status history to not be maintained
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@764946 13f79535-47bb-0310-9956-ffa450edef68
2009-04-14 20:41:07 +00:00
Anil Patel
87d0fe0492
Small string externalization work. Thanks Divesh for contribution.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@764684 13f79535-47bb-0310-9956-ffa450edef68
2009-04-14 06:18:26 +00:00
Adrian Crum
b38b6e9199
Small fixup for last commit - made the FlexibleStringExpander code comments more accurate. No functional change.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@764534 13f79535-47bb-0310-9956-ffa450edef68
2009-04-13 17:08:15 +00:00
Adrian Crum
dc1c95d57f
Added expression escaping to FlexibleStringExpander.java, and put some examples in the Example component.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@764527 13f79535-47bb-0310-9956-ffa450edef68
2009-04-13 16:56:06 +00:00
Hans Bakker
70c4771995
make header expand/collaps again
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@764492 13f79535-47bb-0310-9956-ffa450edef68
2009-04-13 14:47:27 +00:00
Adrian Crum
21ff1c14e9
Updated the JUEL library. Added two UEL functions for handling sequence IDs used as Map keys.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@764323 13f79535-47bb-0310-9956-ffa450edef68
2009-04-12 20:39:52 +00:00
Adrian Crum
0638b39c8a
Removed unused/unnecessary classes and methods from framework/base. These were deprecated last November.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@764308 13f79535-47bb-0310-9956-ffa450edef68
2009-04-12 18:02:00 +00:00
Adrian Crum
f67ea1a83e
Removed duplicate DOCTYPE element.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@764301 13f79535-47bb-0310-9956-ffa450edef68
2009-04-12 16:53:26 +00:00
David E. Jones
78d8c7cdc0
Consolidated code to check for non-encrypted parameters sent to service calls, enhanced to support a new url.properties property (service.http.parameters.require.encrypted) that controls whether or not this will throw an exception
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@764286 13f79535-47bb-0310-9956-ffa450edef68
2009-04-12 07:30:29 +00:00
Jacques Le Roux
87654d261c
Guo's solution was not working, did not search more + correct French translation
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@764207 13f79535-47bb-0310-9956-ffa450edef68
2009-04-11 14:53:02 +00:00
Jacques Le Roux
26bb37b2dc
A modified patch from Guo Weizhan "Change the date function from bsh script to date EL in FormWidgetExampleForms.xml" OFBIZ-2257
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@764206 13f79535-47bb-0310-9956-ffa450edef68
2009-04-11 14:40:50 +00:00
Jacques Le Roux
999bd7c577
Fix following Chris Howe's message in dev ML
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@764195 13f79535-47bb-0310-9956-ffa450edef68
2009-04-11 13:00:24 +00:00
Jacques Le Roux
0e96db3826
Better French translation
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@764084 13f79535-47bb-0310-9956-ffa450edef68
2009-04-10 22:18:05 +00:00
Jacopo Cappellato
6d29e3fc90
Applied patch from Ashish and Vikas, part of issue OFBIZ-1901 (Class cast exception on doing survey [ take survey ] on Customer Profile).
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763915 13f79535-47bb-0310-9956-ffa450edef68
2009-04-10 12:00:09 +00:00
David E. Jones
8821b17e3e
A small change to address an issue reported by Angelo Matarazzo when HTTPS is disabled and form data is POSTed; note that deploying so that OFBiz doesn't know if the request is over HTTPS or not is NOT recommended as this DOES open a security vulnerability for XSRF and such when data is POSTed not over HTTPS
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763855 13f79535-47bb-0310-9956-ffa450edef68
2009-04-10 01:41:52 +00:00
David E. Jones
bc073306e7
Added/moved some missing WebSite data needed for selecting themes, etc
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763828 13f79535-47bb-0310-9956-ffa450edef68
2009-04-09 22:12:11 +00:00
Jacopo Cappellato
711a3b619d
Mostly completed the implementation of widget macro renderers for xml and text output.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763520 13f79535-47bb-0310-9956-ffa450edef68
2009-04-09 06:01:21 +00:00
Jacopo Cappellato
a02c3abaa8
A bunch of fixes and enhancements to the new widget renderers based on Freemarker macros.
...
Converted to new technology the xsl-fo renderer and view handler.
Better handling of platform dependent templates included in screens: the proper one is now choosen according to the name of the renderer; the name is returned by a new method of the widget renderer interface.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763511 13f79535-47bb-0310-9956-ffa450edef68
2009-04-09 04:14:38 +00:00
Jacopo Cappellato
4fc035c159
The util method quoteStrList was adding two times the trailing ' to the elements. Formatting fixes.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763509 13f79535-47bb-0310-9956-ffa450edef68
2009-04-09 04:06:48 +00:00
Jacques Le Roux
5dd48e08bf
Fix a bug (data reader move not done)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763214 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 12:30:31 +00:00
Jacques Le Roux
b271a279a0
Fix bug introduced with
...
if( => if (
while( => while (
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763199 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 12:01:06 +00:00
Jacques Le Roux
b9c3ddef08
2d part and end of an effort to remove trailing spaces
...
[ \t]+$ => "" (empty)
Should be easier to review when committing changes with trailing spaces removed automatically by anyedit or such tool (please refer to http://docs.ofbiz.org/x/mg )
Of course this effort to remove trailing spaces has no functional implications.
Actually, I was doing a 1st commit and as it's long to upload, I got conflicts with r763135
In the meantime I did some refactoring also in *.java and *.groovy files :
){ => ) {
if( => if (
while( => while (
}else => } else
else{ => else {
switch( => switch (
try{ => try {
}catch => } catch
catch( => catch (
}finally{ => } finally {
So these changes are also in this commit, should not be a problem anyway.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763175 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 10:54:51 +00:00
Hans Bakker
c1491066f0
moved custrequest notification from myportal to order,moved other programs around, reorganized customer request status handling, replaced cust request roles from ftl to form, removed other used programs from myportal. Now only the party registration is left in myportal.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763135 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 07:58:00 +00:00
David E. Jones
89ba7ff311
Small change to groovy: stuff in FlexibleStringExpander to only interpret the expression/script on the initial parse and not each time it is run; tested with the stuff in the example component
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763105 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 05:14:23 +00:00
Jacques Le Roux
771c3715f8
A patch from Divesh Dutta "Secure URLs in Freemarker templates files" https://issues.apache.org/jira/browse/OFBIZ-2260
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762863 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 17:36:29 +00:00
Jacopo Cappellato
35fd6a6814
ant targets to create/apply/revert patches for the framework, applications and specialpurpose: they are available in the ant script for auto generated hot-deploy components.
...
OFBIZ-2271
Thanks to Seema Tiwari & Ritika Somani for the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762757 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 13:03:22 +00:00
Jacopo Cappellato
640e11b07c
Misc fixes and enhancements to the new Macro renderer stuff.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762727 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 12:06:03 +00:00
Jacques Le Roux
a5042291f7
1st part of an effort to remove trailing spaces
...
" +/> => "/>
Should be easier when dealing with Eclipse S/R regexp
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762648 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 08:27:15 +00:00