Erwan de Ferrieres
e7faeca8f3
Missing entity uiLabels on CUSTREQ_STTS
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@992321 13f79535-47bb-0310-9956-ffa450edef68
2010-09-03 15:05:29 +00:00
Erwan de Ferrieres
ab43dfbf0e
Showing the title when a portal page is displayed on screen
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@991947 13f79535-47bb-0310-9956-ffa450edef68
2010-09-02 14:27:17 +00:00
Jacques Le Roux
427d8fc258
A patch from Liu Xiangqian "method writeObject(StringBuilder sb, Object value, boolean allowJsonResolve) in UtilIO always throw an IOException" ( https://issues.apache.org/jira/browse/OFBIZ-3916 ) - OFBIZ-3916
...
Tried to invoke method UtilIO.writeObject() but found the following code
try {
StringWriter writer = new StringWriter();
if (encodeObject(writer, value, allowJsonResolve)) { sb.append(writer.toString()); return; }
} catch (Exception e) {
}
throw new IOException("Can't write (" + value + ")");
It caused the method to always throw an IOException.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@991485 13f79535-47bb-0310-9956-ffa450edef68
2010-09-01 09:15:14 +00:00
David E. Jones
5c5149bf11
Small change to short ton description as it seems more people are familiar with the term US ton than short ton
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@991279 13f79535-47bb-0310-9956-ffa450edef68
2010-08-31 18:14:39 +00:00
Erwan de Ferrieres
5b949ffeb3
OFBIZ-3911 - A patch from Nicolas Malin -- Correct ij.ofbiz script with derby 10.6.1.0
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@991114 13f79535-47bb-0310-9956-ffa450edef68
2010-08-31 08:02:59 +00:00
Erwan de Ferrieres
ed69193490
BIRT is starting at 1, so need to add 1 to the list size
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@990829 13f79535-47bb-0310-9956-ffa450edef68
2010-08-30 15:50:07 +00:00
Ashish Vijaywargiya
e90d83e6af
Applied patch from jira issue OFBIZ-3909 - Bug in showing online estimate rate on UPS services.
...
UPS Online shipping rates are showing wrong values when product weight having different weightUomId. It doesn't support UOM Conversion as it is working in USPS services.
So fixing this bug, following work is done.
1) Calling generic methods "getPackageSplit", "getProductItemInfo" & "calcPackageWeight" methods from ShipmentWorker.java
2) Removed duplicate methods from UpsServices.java
Thanks Amit for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@990751 13f79535-47bb-0310-9956-ffa450edef68
2010-08-30 09:55:02 +00:00
Scott Gray
f79f17b18a
Completed the fix reported in r989475 (and subsequently reverted in r989722) by Erwan.
...
The condition-object element used to have an attribute named "field-name" which was later replaced with "field" but the code was instead checking for "field-name" and then "name".
Fixed so that the code checks for "field" and then "field-name".
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@990347 13f79535-47bb-0310-9956-ffa450edef68
2010-08-28 11:35:24 +00:00
Scott Gray
2dcb051ff1
Minor groovy tidy up
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@990343 13f79535-47bb-0310-9956-ffa450edef68
2010-08-28 11:21:33 +00:00
Jacques Le Roux
910296c01f
A patch from Sascha Rodekamp "Xml Ds Dump Iterator Fix - Webtools" ( https://issues.apache.org/jira/browse/OFBIZ-3906 ) - OFBIZ-3906
...
Issue with the Xml Export: it seems that there is an issue with the each() loop in Groovy, during the export OFBiz throws a lot of warnings which regards to an wrong used iterator.
So i changed the each() loop into a normal iterator which solves the issue.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@990339 13f79535-47bb-0310-9956-ffa450edef68
2010-08-28 10:53:03 +00:00
Scott Gray
58e89dd716
Set the response content type to what was provided in the view-map definition instead of hard-coding application/pdf, allows for any type of document supported by fop to be rendered by the view handler.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@990335 13f79535-47bb-0310-9956-ffa450edef68
2010-08-28 09:47:15 +00:00
Jacques Le Roux
0bcdc3e955
Better comment
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@990328 13f79535-47bb-0310-9956-ffa450edef68
2010-08-28 09:08:45 +00:00
Jacques Le Roux
d41c42d069
Fix a bug in setDependentDropdownValuesJs.ftl (used in conjunction with getDependentDropdownValues.js)
...
I just realize that I missed to change from maindId to paramKey in the observe event. It works with country where the values are the same (countryGeoId), but in other cases it does not (notably in the issue reported at https://issues.apache.org/jira/browse/OFBIZ-3247
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@989829 13f79535-47bb-0310-9956-ffa450edef68
2010-08-26 17:11:43 +00:00
Erwan de Ferrieres
6d59cc8f25
reverting 989475 as it is generating too much backward compatibility issues
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@989772 13f79535-47bb-0310-9956-ffa450edef68
2010-08-26 15:41:49 +00:00
Erwan de Ferrieres
fc024e7080
OFBIZ-3901 - Birt charts and PDF generation -- now Birt PDF files containing charts are generated.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@989593 13f79535-47bb-0310-9956-ffa450edef68
2010-08-26 10:27:19 +00:00
Erwan de Ferrieres
d6564a8188
when using an entity-condition, the object's attribute name used in condition object parameter was not taken into account
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@989475 13f79535-47bb-0310-9956-ffa450edef68
2010-08-26 07:07:12 +00:00
Bruno Busco
6cb038332c
Removed settings of hideSearch field. This is not used any more.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@989397 13f79535-47bb-0310-9956-ffa450edef68
2010-08-25 22:54:50 +00:00
Jacques Le Roux
9fd01fcd31
Removes a framework dependency on Marketing component
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@989389 13f79535-47bb-0310-9956-ffa450edef68
2010-08-25 22:20:18 +00:00
Erwan de Ferrieres
24c97a5b0c
Changing functioning for display-size, now displaying dots inside the text instead at the end, so it is more readable
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@989313 13f79535-47bb-0310-9956-ffa450edef68
2010-08-25 19:25:56 +00:00
Jacques Le Roux
dc96c0990c
Fix a bug when there are no comments at all.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@989166 13f79535-47bb-0310-9956-ffa450edef68
2010-08-25 15:19:05 +00:00
Erwan de Ferrieres
0c34a47300
no functionnal changes, just reorganizing data order
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@989041 13f79535-47bb-0310-9956-ffa450edef68
2010-08-25 12:06:37 +00:00
Erwan de Ferrieres
99eace2c07
Examples on creating charts with Birt -- HTML generation is OK, still some work to do on PDF
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@988846 13f79535-47bb-0310-9956-ffa450edef68
2010-08-25 07:53:56 +00:00
Jacques Le Roux
792aa82bee
A solution for "State field is missing - Not in List or N/A" reported by Sam Hamilton at https://issues.apache.org/jira/browse/OFBIZ-3247 - OFBIZ-3247
...
I finally decided to use the new Dependent Dropdowns mechanim.
I have also refined how it's used in Example to avoid confusion, so changed setDependentDropdownValuesJs.ftl to pass paramKey when it's different from mainId
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@988508 13f79535-47bb-0310-9956-ffa450edef68
2010-08-24 12:32:52 +00:00
Bruno Busco
b7ea12ceba
Enabled column sorting feature to temporal expression screen
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@988443 13f79535-47bb-0310-9956-ffa450edef68
2010-08-24 09:03:37 +00:00
Bruno Busco
4300a7aae9
Fixed TabBar menus highlights in WebTools configuration screens
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@988434 13f79535-47bb-0310-9956-ffa450edef68
2010-08-24 08:47:40 +00:00
Erwan de Ferrieres
25e75576bd
OFBIZ-3896 BIRT charts are not rendered - this file wasn't updated when moving from birt 2.5.1 to 2.6.0
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@988024 13f79535-47bb-0310-9956-ffa450edef68
2010-08-23 08:14:53 +00:00
Erwan de Ferrieres
2b854ca29b
groovy 1.7.4 bugfix release (notes : http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=10242&version=16563 )\n this time it's ok
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@987905 13f79535-47bb-0310-9956-ffa450edef68
2010-08-22 13:57:31 +00:00
Erwan de Ferrieres
ef9dbea9f9
reverting previous commit, sorry, I was a bit too speed on this one
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@987767 13f79535-47bb-0310-9956-ffa450edef68
2010-08-21 14:46:07 +00:00
Erwan de Ferrieres
5c4d25735d
groovy 1.7.4 bugfix release (notes : http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=10242&version=16563 )
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@987766 13f79535-47bb-0310-9956-ffa450edef68
2010-08-21 14:27:49 +00:00
Erwan de Ferrieres
0c6075f89b
Just a formatting issue, no functional change
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@987755 13f79535-47bb-0310-9956-ffa450edef68
2010-08-21 13:37:37 +00:00
Erwan de Ferrieres
75b0af3628
Refactoring on Example controller to include the Birt's one
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@987555 13f79535-47bb-0310-9956-ffa450edef68
2010-08-20 15:49:46 +00:00
Jacques Le Roux
72e99f8d44
revert r987277, the comment was right, sorry :/
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@987348 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19 23:20:50 +00:00
Jacques Le Roux
0a06065137
This comment
...
<!-- here mainId and its key are same -->
was false in this case (true for category/products)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@987277 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19 19:34:16 +00:00
Jacques Le Roux
c7f7506a48
Not a big deal: Forgot to replace selectedStateProvinceGeoId by selectedDependentOption
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@987276 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19 19:28:58 +00:00
Erwan de Ferrieres
becc213433
removing trailing spaces
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@987271 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19 19:07:34 +00:00
Jacques Le Roux
be40037bef
Forgot to comment out now useless setCountryStatesEventJs.ftl call in r987266
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@987267 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19 18:54:43 +00:00
Jacques Le Roux
e3ee5b8035
From Scott's remark, removes dependency from Product component in dependent dropdowns example
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@987266 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19 18:49:32 +00:00
Erwan de Ferrieres
6e2431837e
removing dependency to product and using new example demo data for reporting
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@987265 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19 18:46:27 +00:00
Erwan de Ferrieres
7c2cd523bf
Adding example demo data
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@987264 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19 18:45:02 +00:00
Bruno Busco
ede7fd1009
More appropriate entity description. (A false framework to product dependence ;-)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@987131 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19 11:27:53 +00:00
Erwan de Ferrieres
063d57711c
new option for fields : display-size. If a field size is longer than the specified value, then length will be cut and ... will be added. The full text will be displayed as a hint. This way, a form will not be deformed by too long fields.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@987127 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19 11:12:55 +00:00
Hans Bakker
2d9b75a30f
this is a revert of r731487 to downgrade freemarker from 2.3.15 to 2.3.10 because of speed problems. In order to make the older version work we changed the following:
...
- create new OfbizCatalogUrlTransform class
- delete CatalogUrlDirective.java class
- set ofbizCatalogUrl transform to OfbizCatalogUrlTransform class
- In htmlFormMacroLibrary.ftl file, change floor directive to floor method of Math class
- change freemarker version in .classpath and LICENSE files
We are in discussion with the freemarker developers to solve this problem there.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@986577 13f79535-47bb-0310-9956-ffa450edef68
2010-08-18 06:33:12 +00:00
Jacques Le Roux
5fdb5272c5
Forgot to put the license headers into new files in r986370
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@986407 13f79535-47bb-0310-9956-ffa450edef68
2010-08-17 17:40:28 +00:00
Jacques Le Roux
7a285eed10
Miscellaneous improvement in Form Widgets examples. Notably introduces an, as much as possible generalized (so far), dependent drop-downs example. I have introduced 2 couples of dependent drop-downs.
...
The 1st one, country/states, is a common one and does not need (ie it's better to not) to be generalized. It can be used as is. It needs some pieces which are all included, see comments and follow...
The 2d, category/products, have been taken as example but is not a good candidate. What if you get much categ or/and products? Anyway it's a good OOTB example and I had it at hand, so I used it. I have tried to generalize (abstract the couple of dropdowns) and it's almost there. The only issue I crossed, is when you want to use a couple of dependent drop-downs in the same form. As it's not a common case, the setDependentDropdownValuesJs.ftl template-script can be used in most cases...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@986370 13f79535-47bb-0310-9956-ffa450edef68
2010-08-17 16:18:24 +00:00
Jacques Le Roux
3e925d6a06
Moves getCountryList and getAssociatedStateList from Party component to Framework to avoid dependencies on Party component (countries and states are not parties, but Geo, ie should be in the framework)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@986325 13f79535-47bb-0310-9956-ffa450edef68
2010-08-17 14:31:25 +00:00
Jacques Le Roux
04d4634019
Removes deprecated and useless framework/common/webcommon/WEB-INF/geolocation.ftl, it has been replaced by framework/common/webcommon/includes/geolocation.ftl
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@986266 13f79535-47bb-0310-9956-ffa450edef68
2010-08-17 11:25:24 +00:00
Erwan de Ferrieres
70767d45b9
removing trailing spaces
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@986096 13f79535-47bb-0310-9956-ffa450edef68
2010-08-16 18:58:02 +00:00
Erwan de Ferrieres
0ae7083542
Adding geolocation using openstreetmap, examples are taken from the google existing ones
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@986095 13f79535-47bb-0310-9956-ffa450edef68
2010-08-16 18:56:25 +00:00
Erwan de Ferrieres
926d4ea1dd
Upgrading to Commons FileUpload 1.2.2, bug fix release from August 2010
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@985714 13f79535-47bb-0310-9956-ffa450edef68
2010-08-15 17:09:49 +00:00
Jacques Le Roux
c04f9410df
Resolve issues from r985624 (only ReadCommitted for HSQL should have been changed)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@985639 13f79535-47bb-0310-9956-ffa450edef68
2010-08-15 09:30:38 +00:00