Hans Bakker
0a21d46376
correction on previous commit, this one and previous contributed by chattree
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@964431 13f79535-47bb-0310-9956-ffa450edef68
2010-07-15 13:57:36 +00:00
Hans Bakker
63ef224344
upgrade birt to 2.6 and at the same time upgrade the itext library (OFBIZ-3407) which does work with this birt version
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@964371 13f79535-47bb-0310-9956-ffa450edef68
2010-07-15 10:33:57 +00:00
David E. Jones
127bc8cba1
Small change so that formatted intervals don't have superfluous commas
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@963630 13f79535-47bb-0310-9956-ffa450edef68
2010-07-13 09:34:29 +00:00
Erwan de Ferrieres
903b726770
As spotted by Matthieu Bollot on dev mailing-list, Su and Sa days were inverted
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@963271 13f79535-47bb-0310-9956-ffa450edef68
2010-07-12 12:52:28 +00:00
David E. Jones
c0a8945cb8
Small change to MacroFormRenderer to use a marco for doing the form close for multi forms, necessary for those to work when rendered using the fo macro library
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@963018 13f79535-47bb-0310-9956-ffa450edef68
2010-07-11 08:55:18 +00:00
David E. Jones
82a12b58e2
Fix for reversed logic in macro form renderer for the ajaxEnabled flag
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@962997 13f79535-47bb-0310-9956-ffa450edef68
2010-07-11 06:36:06 +00:00
David E. Jones
347b42a174
When a screen fop render fails, puts the screen XSL:FO output text in the log so you can see what caused the problem
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@962996 13f79535-47bb-0310-9956-ffa450edef68
2010-07-11 06:35:09 +00:00
David E. Jones
e87f05bf16
Import cleanups only
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@962995 13f79535-47bb-0310-9956-ffa450edef68
2010-07-11 06:34:20 +00:00
Hans Bakker
7801aaf359
add a explanation how the 'widgetVerbose' parameter can be used in web.xml and comment out the setting in the example component because widget comments should be shown out of the box there.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@962392 13f79535-47bb-0310-9956-ffa450edef68
2010-07-09 02:34:22 +00:00
Hans Bakker
84641a624f
make widgetBoundaryCommentsEnabled work as the descriptions states: Widget boundary comments are enabled by setting widgetVerbose true in the context Map, OR by setting widget.verbose=true in widget.properties. And not let the context override the widget.properties setting
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@961684 13f79535-47bb-0310-9956-ffa450edef68
2010-07-08 09:49:57 +00:00
Erwan de Ferrieres
c0f074773b
Wrong parameters size was used for args with presentation=layer
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@961324 13f79535-47bb-0310-9956-ffa450edef68
2010-07-07 09:55:28 +00:00
Adrian Crum
cc9e403254
Fixed a bug in JdbcValueHandler.java reported by Hans on the dev ml - PostgreSQL BYTEA SQL types threw an exception. This fix replaces the entityengine.xml datasource use-binary-type-for-blob attribute introduced in rev 431161. In other words, the use-binary-type-for-blob attribute is no longer needed.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@960929 13f79535-47bb-0310-9956-ffa450edef68
2010-07-06 16:08:51 +00:00
Ashish Vijaywargiya
2c06dd8e5e
Added gram into pound support.
...
Thanks Vivek for the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@960495 13f79535-47bb-0310-9956-ffa450edef68
2010-07-05 09:21:59 +00:00
Jacques Le Roux
f2fbad78d5
Improvement on r960336. Fix a problem reported by Scott on dev ML.
...
I tested locally, and I think I have done it right this time
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@960491 13f79535-47bb-0310-9956-ffa450edef68
2010-07-05 09:10:19 +00:00
Jacques Le Roux
82aba53fa5
Improvement on r960336 (should fix a problem reported by Scott on dev ML.)
...
I tested locally, but I'm not quite sure it's sufficient
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@960401 13f79535-47bb-0310-9956-ffa450edef68
2010-07-04 21:23:47 +00:00
Jacques Le Roux
bc89697809
Found a Jacopo's message while browsing around calendarDateSelect.
...
I have not put pl.js and fi.js because they exist in the calendarDateSelect project.
I'd like to contribute those news to the calendarDateSelect project, but it's not a priority for me
I have asked how to contribute to the calendarDateSelect project
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@960376 13f79535-47bb-0310-9956-ffa450edef68
2010-07-04 18:22:50 +00:00
Adrian Crum
d898b0b695
Fixed UtilCache.java JavaDoc.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@960373 13f79535-47bb-0310-9956-ffa450edef68
2010-07-04 18:07:14 +00:00
Jacques Le Roux
92fe067268
Should fix a problem reported by Scott on dev ML.
...
It's related to r886723: I forgot to create an en.js file (used as default).
I have also enhanced the other files but without total guarantee of correctness, at least it's better and improvable
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@960336 13f79535-47bb-0310-9956-ffa450edef68
2010-07-04 12:59:05 +00:00
Scott Gray
adfa8d36b6
Fix ModelMenuAction.PropertyMap, if the map already existed then it was overwritten instead of being added to. Fixed before merging with ModelWidgetAction so that I can backport to 10.04
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@960190 13f79535-47bb-0310-9956-ffa450edef68
2010-07-03 09:50:07 +00:00
Adrian Crum
c255f48060
A little bit of work on the entity condition stuff - no functional change. Improved JavaDocs, eliminated compiler warnings.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@960154 13f79535-47bb-0310-9956-ffa450edef68
2010-07-03 04:27:20 +00:00
Jacques Le Roux
060a0ad59b
Internationalize the category/products and country/state dependent dropdown "worker" services (when the list is empty we need to show something to explain)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@959984 13f79535-47bb-0310-9956-ffa450edef68
2010-07-02 13:45:55 +00:00
Erwan de Ferrieres
417be33da1
When an error message is displayed, clicking on it will make it disappear
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@959960 13f79535-47bb-0310-9956-ffa450edef68
2010-07-02 12:10:58 +00:00
Jacques Le Roux
c16497a20c
Revert r959673 on Scott's advice. There is already a getCategoryMembers. A bit different but it's ok, as it does not make much sense to sort categoryMembers with another field than sequenceNum
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@959943 13f79535-47bb-0310-9956-ffa450edef68
2010-07-02 10:32:58 +00:00
Scott Gray
e7f6f4e1eb
Take care of some warnings while I'm in the area, ModelWidget already implements Serializable so ModelScreen doesn't need to mention it.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@959902 13f79535-47bb-0310-9956-ffa450edef68
2010-07-02 07:52:14 +00:00
Scott Gray
50e4f65d46
Removed all usage of the deprecated ModelScreenAction class
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@959898 13f79535-47bb-0310-9956-ffa450edef68
2010-07-02 07:49:21 +00:00
Scott Gray
f85c469494
Deprecated ModelScreenAction and it's subclasses, decided it was best to leave the class as is and just switch the screen widget code over to using ModelWidgetAction
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@959893 13f79535-47bb-0310-9956-ffa450edef68
2010-07-02 07:40:57 +00:00
Adrian Crum
d55b7b2e5c
Small JavaDoc improvement, no functional change.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@959889 13f79535-47bb-0310-9956-ffa450edef68
2010-07-02 07:33:30 +00:00
Scott Gray
831721bc7c
Added a new class ModelWidgetAction which will serve to replace the duplicate classes ModelScreenAction, ModelFormAction and ModelMenuAction. This class is virtually a direct copy of ModelScreenAction and its subclasses. I'll work over the weekend to switch the existing classes to extend from ModelWidgetAction, remove their methods and then deprecate the shells that are left behind.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@959875 13f79535-47bb-0310-9956-ffa450edef68
2010-07-02 06:38:52 +00:00
Adrian Crum
850e4a50f1
Small enhancement to JdbcValueHandler: add support for sub-second Timestamp precision on databases that don't support it.
...
If a user chooses to do so, they can assign the date-time field type to a CHAR(30) SQL type. This will enable sub-second Timestamp precision on databases that don't support it.
The Timestamp will be stored as a string in JDBC Timestamp format (yyyy-mm-dd hh:mm:ss.fffffffff). Date/time comparisons can still be performed in SQL statements, but any date/time functions performed on the field will fail. Users could create UDFs to mimic those functions.
In addition, the CHAR(30) field will consume more storage space than a native Timestamp field (usually 8 bytes).
It will be up to the user to decide if they want to use this feature. If used in a pure OFBiz environment, everything should work as expected.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@959868 13f79535-47bb-0310-9956-ffa450edef68
2010-07-02 06:28:14 +00:00
Adrian Crum
b49bae579b
Removed validators from ModelFieldType.java.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@959716 13f79535-47bb-0310-9956-ffa450edef68
2010-07-01 16:38:24 +00:00
Adrian Crum
e4b686c9dc
Removed validate element from fieldtype*.xml files.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@959708 13f79535-47bb-0310-9956-ffa450edef68
2010-07-01 16:11:10 +00:00
Adrian Crum
3dd7ca4f70
Removed Cloudscape support from the entity engine. Cloudscape has been replaced by Apache Derby.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@959695 13f79535-47bb-0310-9956-ffa450edef68
2010-07-01 15:28:17 +00:00
Jacques Le Roux
b89ca0e0ff
Adds a getAssociatedProductsList method. I will certainly add the companions service and request later in the Product application.
...
I have also the vague desire to generalize this more, as I have been able to quickly use it in a widget form following the Freemarker way already used.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@959673 13f79535-47bb-0310-9956-ffa450edef68
2010-07-01 14:05:21 +00:00
Erwan de Ferrieres
a98fde6e54
simplifying French label
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@959671 13f79535-47bb-0310-9956-ffa450edef68
2010-07-01 14:02:36 +00:00
Adrian Crum
6ad531be48
Some work on the entity engine:
...
1. Removed the conversion framework from the entity engine. Type conversions should be done higher up in the stack. The basic pattern is the same, but instead of each ModelFieldType containing a converter instance, it now contains a JdbcValueHandler instance. The JdbcValueHandler performs the same task as the original switch statement - in effect each ModelFieldType contains its own piece of the switch statement.
2. Added two new field types: byte[] and Object. Originally, the Blob field type was a catch-all for multiple Java data types. This change disambiguates the field's contents.
This has been tested on Advantage, Derby, and MySQL. It should be completely backward compatible. I will be monitoring the dev mailing list closely for any problems.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@959470 13f79535-47bb-0310-9956-ffa450edef68
2010-06-30 23:27:24 +00:00
Adrian Crum
12d7ff5b73
Fixed a bad SQL type in fieldtypemysql.xml.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@959457 13f79535-47bb-0310-9956-ffa450edef68
2010-06-30 22:05:58 +00:00
Adrian Crum
76fc2006e5
Entity field test improvements - made them compatible with a broader range of databases.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@959456 13f79535-47bb-0310-9956-ffa450edef68
2010-06-30 22:05:04 +00:00
Scott Gray
18c40989d5
ServiceDispatcher method was returning a call to itself, stumbled across it by chance
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@959453 13f79535-47bb-0310-9956-ffa450edef68
2010-06-30 21:58:32 +00:00
Erwan de Ferrieres
093f72b2aa
Removing unnecessary calls to map. Thanks Adrian
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@959291 13f79535-47bb-0310-9956-ffa450edef68
2010-06-30 12:45:55 +00:00
Erwan de Ferrieres
e710059ab7
OFBIZ-3798 Add xml-rpc engine on serviceengine - A new patch from Nicolas Malin ( https://issues.apache.org/jira/browse/OFBIZ-3798 ) - Also updating xml-rpc libs from 3.0.1 to 3.1.2
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@959261 13f79535-47bb-0310-9956-ffa450edef68
2010-06-30 10:52:12 +00:00
Erwan de Ferrieres
0803e3c6f1
Reverting previous commit as it wasn't fully reviewed and was producing errors. Sorry guys...
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@959076 13f79535-47bb-0310-9956-ffa450edef68
2010-06-29 19:19:55 +00:00
Erwan de Ferrieres
ad183f5cea
OFBIZ-3798 Add xml-rpc engine on serviceengine - ( https://issues.apache.org/jira/browse/OFBIZ-3798 )
...
A patch from Nicolas Malin - adding a generic service to call xml-rpc server. The goal is to have a technical interface to make calls directly from mini-lang.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@959071 13f79535-47bb-0310-9956-ffa450edef68
2010-06-29 18:43:56 +00:00
Adrian Crum
f7e66e26ba
Entity test improvements:
...
1. Skip foreign key tests on datasources that don't use foreign keys.
2. Test all field types.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@958769 13f79535-47bb-0310-9956-ffa450edef68
2010-06-28 22:29:01 +00:00
Adrian Crum
d7a22a1b35
Changed Advantage database setting in entityengine.xml.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@958758 13f79535-47bb-0310-9956-ffa450edef68
2010-06-28 21:54:48 +00:00
Adrian Crum
96fd73e825
Updated fieldtypeadvantage.xml. Some of the SQL types were wrong - causing the tests to fail.
...
This commit will require anyone using the Advantage database to alter the data types on their existing database - which can be done with the Data Architect.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@958752 13f79535-47bb-0310-9956-ffa450edef68
2010-06-28 21:48:11 +00:00
Erwan de Ferrieres
da8510e3f1
Adding new geoAssocTypes, one for a town in a county, the other one for a postal code for a geoType
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@958569 13f79535-47bb-0310-9956-ffa450edef68
2010-06-28 13:16:14 +00:00
Erwan de Ferrieres
143b01827a
Adding missing French departments (counties)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@958567 13f79535-47bb-0310-9956-ffa450edef68
2010-06-28 13:15:00 +00:00
Adam Heath
7ebbcfc4f1
Parallel execution of instrumentation, segmented by file.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@958277 13f79535-47bb-0310-9956-ffa450edef68
2010-06-26 19:41:02 +00:00
Adam Heath
7f37d0523a
The static helper class now implements Callable<File>.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@958276 13f79535-47bb-0310-9956-ffa450edef68
2010-06-26 19:40:57 +00:00
Adam Heath
b8b1bd7aba
Refactored instrument() so that the main body of work is done by a
...
static helper class.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@958275 13f79535-47bb-0310-9956-ffa450edef68
2010-06-26 19:40:51 +00:00