Commit Graph
16296 Commits
Author SHA1 Message Date
Jacopo Cappellato 8564cd8125 Removed unused handler from controller files; replaced handlers that were still using the old ScreenWidgetViewHandler with the current MacroScreenViewHandler; deprecated compress.HTML property with output specific properties like screen.compress; this fixes a rather important issue happening when the compress.HTML setting is set to true: non html output screens like for example tab delimited exports were messed up.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1058056 13f79535-47bb-0310-9956-ffa450edef68
2011-01-12 10:44:35 +00:00
Hans Bakker 338a2456e3 service 'performFindItem' got sometimes unwanted output parameter 'listSize' from parent findList service: removed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1058041 13f79535-47bb-0310-9956-ffa450edef68
2011-01-12 10:06:19 +00:00
Jacopo Cappellato 47beefcd84 Added missing sorting directive for transaction id that was causing the invoice related transactions to appear messed un in the invoice detail screen.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1058028 13f79535-47bb-0310-9956-ffa450edef68
2011-01-12 09:13:36 +00:00
Jacques Le Roux 0e5dec72c6 Only to ease test/exchange with date-time picker author for now...
I think i18n does not work as well as datepicker

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1057892 13f79535-47bb-0310-9956-ffa450edef68
2011-01-11 22:17:40 +00:00
Marco Risaliti 15f2f6657e Remove most of the java compilation warning (generics markup, unused code/import) (OFBIZ-4102)
Please advice if you see some issues, I have tested but it could be some errors due to the migration.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1057884 13f79535-47bb-0310-9956-ffa450edef68
2011-01-11 21:41:33 +00:00
Marco Risaliti c568d2f8d2 Internationalization of ServiceUtil.returnSuccess, ServiceUtil.returnFailure, ServiceUtil.returnError (OFBIZ-4091)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1057865 13f79535-47bb-0310-9956-ffa450edef68
2011-01-11 21:00:49 +00:00
Marco Risaliti 7c1aa5f489 Internationalization of ServiceUtil.returnSuccess, ServiceUtil.returnFailure, ServiceUtil.returnError (OFBIZ-4091)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1057831 13f79535-47bb-0310-9956-ffa450edef68
2011-01-11 19:57:04 +00:00
Jacques Le Roux 48eea97f2e A patch from Martin Kreidenweis "Links to Path Alias and Meta Tags in CMS don't work any more" (https://issues.apache.org/jira/browse/OFBIZ-4108) - OFBIZ-4108
* Go to https://demo-trunk.ofbiz.apache.org/content/control/WebSiteCms?webSiteId=WebStore
* Select some content, e.g. "Store Policies"
* Try to click the "Path Alias" or "Meta Tags" links at the top. They cause a JavaScript error: "destroyEditor is not defined"

This patch removes calls to non-existing destroyEditor() javascript function, fixes the url to the path alias, and adds the missing screenlets to the path alias and meta tags screens 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1057775 13f79535-47bb-0310-9956-ffa450edef68
2011-01-11 18:04:19 +00:00
Jacques Le Roux 315a103569 Revert r1057571 on David's advice in dev ML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1057580 13f79535-47bb-0310-9956-ffa450edef68
2011-01-11 11:10:46 +00:00
Jacques Le Roux 537bcdbbce A patch from Jonas Hoef "add taxPercentage and taxTotal member variables to ShoppingCartItem to ease tax calculation and display" (https://issues.apache.org/jira/browse/OFBIZ-4104) - OFBIZ-4104
Legal requirements in Germany mandate that tax-information is displayed for each shopping cart item. This is supported by the proposed improvement.

JLR: only the fields and getters are provided in this patch, no UI changes

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1057571 13f79535-47bb-0310-9956-ffa450edef68
2011-01-11 10:41:48 +00:00
Jacques Le Roux abac56fada A patch from Paul Foxworthy "findOrdersToPickMove: EntityListIterator not closed if no Picklist generated" (https://issues.apache.org/jira/browse/OFBIZ-4105) - OFBIZ-4105
Go to ordermgr/control/orderview for an order that doesn't have stock ready for picking.
Click on Prink Pick Sheet
You'll get a Pick Sheet PDF with the message "Order not ready for picking, needs stock move"
Look at logs, you'll see an EntityListIterator was created and never closed, so a warning message was logged when the finalize was executed.

The problem is in the findOrdersToPickMove simple method in
applications/product/script/org/ofbiz/shipment/picklist/PicklistServices.xml .

There's a <use-iterator/> for the OrderHeaderAndItemFacilityLocation entity.
After the entity-condition element, there's an <if> element, and the iterator is only used when the "if" condition is false, i.e. the <else> part is executed.
My fix is simply to move the <entity-condition>, complete with <use-iterator>, within the <else> element so the condition is evaluated and the iterator created only when the iterator will be used.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1057519 13f79535-47bb-0310-9956-ffa450edef68
2011-01-11 08:28:57 +00:00
Marco Risaliti aabbc893f0 Remove most of the java compilation warning (generics markup, unused code/import) (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1057346 13f79535-47bb-0310-9956-ffa450edef68
2011-01-10 20:27:13 +00:00
Marco Risaliti cb8d558360 Remove most of the java compilation warning (generics markup, unused code/import) (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1057344 13f79535-47bb-0310-9956-ffa450edef68
2011-01-10 20:22:56 +00:00
Marco Risaliti ceafd4dae2 Remove most of the java compilation warning (generics markup, unused code/import) (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1057343 13f79535-47bb-0310-9956-ffa450edef68
2011-01-10 20:14:36 +00:00
Marco Risaliti aa349357f3 Internationalization of ServiceUtil.returnSuccess, ServiceUtil.returnFailure, ServiceUtil.returnError (OFBIZ-4091)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1057331 13f79535-47bb-0310-9956-ffa450edef68
2011-01-10 19:38:08 +00:00
Jacques Le Roux fdb9ddef4e French label was too long
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1057194 13f79535-47bb-0310-9956-ffa450edef68
2011-01-10 13:48:07 +00:00
Jacques Le Roux 5cba7cb654 Small fix to complete r1057075, only labels changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1057178 13f79535-47bb-0310-9956-ffa450edef68
2011-01-10 13:01:51 +00:00
Jacques Le Roux bd207e8eac Fix a small typo in comment
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1057155 13f79535-47bb-0310-9956-ffa450edef68
2011-01-10 11:37:21 +00:00
Jacques Le Roux bfa23d2ff8 A patch from Sascha "The variants case does not work in product lookups" (https://issues.apache.org/jira/browse/OFBIZ-4100) - OFBIZ-4100
All cases are now fixed

Also replace all tabs by spaces

JLR: I have fixed another related bug at r1057153 (the 1st one I crossed and is the summary of OFBIZ-4100). It was introduced by r1040908 and I'm afraid there are more unwanted side effects

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1057154 13f79535-47bb-0310-9956-ffa450edef68
2011-01-10 11:36:19 +00:00
Jacques Le Roux 191a0d3155 Fix a bug introduced by r1040908.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1057153 13f79535-47bb-0310-9956-ffa450edef68
2011-01-10 11:16:00 +00:00
Hans Bakker 93d973d583 add description to download postges driver so it can be used without ivy
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1057142 13f79535-47bb-0310-9956-ffa450edef68
2011-01-10 10:23:53 +00:00
Hans Bakker d696e3547b When a load balancer is in front of the ofbiz system and takes care of the ssl certificate, ofbiz is now reading the Header[X-Forwarded-Proto] parameters to check if the request was secure or not. It still works the old way if these request parameters are not present
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1057115 13f79535-47bb-0310-9956-ffa450edef68
2011-01-10 08:26:04 +00:00
Hans Bakker ade53de5ba fix a conflict in the new category tree which conflicted with the lookup buttons in the catalog mainscreen. reported by Jacques.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1057075 13f79535-47bb-0310-9956-ffa450edef68
2011-01-10 02:35:35 +00:00
Marco Risaliti bd535d7911 Internationalization of ServiceUtil.returnSuccess, ServiceUtil.returnFailure, ServiceUtil.returnError (OFBIZ-4091)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1057033 13f79535-47bb-0310-9956-ffa450edef68
2011-01-09 21:22:09 +00:00
Marco Risaliti 454eb6586d Internationalization of ServiceUtil.returnSuccess, ServiceUtil.returnFailure, ServiceUtil.returnError (OFBIZ-4091)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1057000 13f79535-47bb-0310-9956-ffa450edef68
2011-01-09 18:56:53 +00:00
Jacques Le Roux 461278703f Resolves "The online help navigation panel is too narrow" (https://issues.apache.org/jira/browse/OFBIZ-4066) - OFBIZ-4066
But in Flat Grey, even when you had the content of the bluelight/help.css in flatgrey/help.css...

I have set the default lookup_popup2 size to width=900 height=700, now that anyway OFBiz is designed to be used with at least a 1024*768 screen

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1056986 13f79535-47bb-0310-9956-ffa450edef68
2011-01-09 17:55:04 +00:00
Jacques Le Roux bc0fc07a9b We have decided to use only one HTML editor and it's elrte jQuery plugin.
So WhizzyWig is not needed anymore. I removed also WhizzyWig Notice and while at it Scriptaculous Notice (which should have been removed when we merged jQuery branch)

BTW, is CoolTips Notice still needed?

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1056984 13f79535-47bb-0310-9956-ffa450edef68
2011-01-09 17:37:38 +00:00
Jacques Le Roux 509711c04d A patch from Leon "i18n problem in auto-completed dropdown box: display not correct characters but html entities" (https://issues.apache.org/jira/browse/OFBIZ-4101) - OFBIZ-4101
If there're chinese characters contained in a description field of a lookup textbox with auto-complete feature enabled, then what I can get from auto-completed dropdown box is not unstandable chinese but messed html entities such as "氨" blah blah.


Thanks to Dukian for quick testing!

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1056977 13f79535-47bb-0310-9956-ffa450edef68
2011-01-09 16:57:32 +00:00
Jacques Le Roux 65ab7533f0 A patch from Jeroen van der Wal "When audit log is enabled it creates log transactions even when there are no changes" (https://issues.apache.org/jira/browse/OFBIZ-4076) - OFBIZ-4076
The createEntittyAuditLogSingle function creates a record in the AuditLog entity even when there's no change. This patch only logs new, changed and deleted values. Also, all changes in the same transaction will get the same change date.

After applying this patch the overhead of the AuditEntityLog is recuded from 32% to 25%.

There's even more room for performance increase: a findOne search for the previous entity is done for every field that's enabled.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1056973 13f79535-47bb-0310-9956-ffa450edef68
2011-01-09 16:36:40 +00:00
Marco Risaliti 4e976230d7 Remove most of the java compilation warning (generics markup, unused code/import) (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1056972 13f79535-47bb-0310-9956-ffa450edef68
2011-01-09 16:28:21 +00:00
Marco Risaliti f13525ddf6 Remove most of the java compilation warning (generics markup, unused code/import) (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1056971 13f79535-47bb-0310-9956-ffa450edef68
2011-01-09 16:12:32 +00:00
Marco Risaliti 07d3626018 Remove most of the java compilation warning (generics markup, unused code/import) (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1056967 13f79535-47bb-0310-9956-ffa450edef68
2011-01-09 15:51:29 +00:00
Marco Risaliti 6481d8e3ca Remove most of the java compilation warning (generics markup, unused code/import) (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1056966 13f79535-47bb-0310-9956-ffa450edef68
2011-01-09 15:49:53 +00:00
Marco Risaliti 0f2f2c473e Remove most of the java compilation warning (generics markup, unused code/import) (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1056964 13f79535-47bb-0310-9956-ffa450edef68
2011-01-09 15:39:27 +00:00
Marco Risaliti 75382cb19c Remove most of the java compilation warning (generics markup, unused code/import) (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1056931 13f79535-47bb-0310-9956-ffa450edef68
2011-01-09 13:44:35 +00:00
Marco Risaliti d12e4e0516 Replace a bsh call that was not more working with a groovy call
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1056928 13f79535-47bb-0310-9956-ffa450edef68
2011-01-09 13:30:49 +00:00
Marco Risaliti 03ba917077 Remove most of the java compilation warning (generics markup, unused code/import) (OFBIZ-4102)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1056927 13f79535-47bb-0310-9956-ffa450edef68
2011-01-09 13:18:02 +00:00
Jacques Le Roux ee5a37507f As suggested by Andrew on dev ML, I put this Aptana formatting template in root repo.
It's also available as an attachment of OFBiz Contributors Best Practices page in wiki. It needs Eclipse/Aptana for editing Javascript files and notably to format them correctly. I suggest also to not use tabs in *our* javascript files but 4 spaces (like in Java)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1056913 13f79535-47bb-0310-9956-ffa450edef68
2011-01-09 11:05:41 +00:00
David E. Jones 04aa260c17 Added necessary seed data for returns on orders with VAT_TAX adjustments; changed return service to accept multiple types of customer returns by looking for CUSTOMER_ prefix instead of matching CUSTOMER_RETURN completely; changed return items screen to show order date along with ID for easier identification of the order
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1056885 13f79535-47bb-0310-9956-ffa450edef68
2011-01-09 05:30:54 +00:00
Jacques Le Roux 6fc5e54c79 Fixes the last issue related to "Ajax example creation has somme issues" (https://issues.apache.org/jira/browse/OFBIZ-1994) - OFBIZ-1994
The issues already fixed were
* A Save File dialog box pop up to save a json file     
* Creation did not update the list
* You can't edit the column "Name" content
* Sometimes it worked on an instance, not another (both with same configuration)
* Sometimes the same instance, which did not work before, worked

I found another issue, the line
<on-event-update-area event-type="submit" area-id="EditExampleAjax" area-target="CreateExampleFormOnly"> 
was duplicating the list and hiding the create section. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1056824 13f79535-47bb-0310-9956-ffa450edef68
2011-01-08 22:34:50 +00:00
Marco Risaliti 89c0cbe9d2 Internationalization of ServiceUtil.returnSuccess, ServiceUtil.returnFailure, ServiceUtil.returnError (OFBIZ-4091)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1056812 13f79535-47bb-0310-9956-ffa450edef68
2011-01-08 21:43:59 +00:00
Jacques Le Roux 09eb2ac918 Fix "Litle quirks in Party component (in Tomahawk theme)" (https://issues.apache.org/jira/browse/OFBIZ-3530) - OFBIZ-3530
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1056803 13f79535-47bb-0310-9956-ffa450edef68
2011-01-08 21:17:19 +00:00
Jacques Le Roux 0d6dbe2977 Useless and faulty log I left there some time ago
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1056752 13f79535-47bb-0310-9956-ffa450edef68
2011-01-08 18:34:25 +00:00
Jacques Le Roux 63c46c446f Since anyway we rely on a form name in renderLookupField, I changed the way Sascha fixed OFBIZ-4068 (see r1056701)
Two reasons to this: 
# we are not sure the descriptionFieldName is alwayd of the form formName_descriptionFieldName
# anyway we need a form name for call_fieldlookup3 and call_fieldlookup2 just above in htmlFormMacroLibrary.ftl. 

While at it, I also removed all question marks in ${uiLabelMap.ProductIncludeSubCategories}? occurrences, it's already in the labels

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1056731 13f79535-47bb-0310-9956-ffa450edef68
2011-01-08 16:30:15 +00:00
Jacques Le Roux cc3939cca4 A patch from Sascha Rodekamp "Find button is not working in the 'googlebase' application" (https://issues.apache.org/jira/browse/OFBIZ-4068) - OFBIZ-4068
Rohit reported a bug in the jQuery implementation (ecommerce):
The find button is not working in the 'googlebase' application. The 'googlebase' application has a page using which u can to search for product to be submitted to google base. the find button is not submitting the page at all.

Sascha: This issue was related to the Lookup Call. The Form in Google Base hadn't a 'name' tag, so the form could not be found. I changed the target by name to a target by Id call (which is better anyways).

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1056701 13f79535-47bb-0310-9956-ffa450edef68
2011-01-08 13:14:19 +00:00
Marco Risaliti aa21c4a42b Internationalization of ServiceUtil.returnSuccess, ServiceUtil.returnFailure, ServiceUtil.returnError (OFBIZ-4091)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1056700 13f79535-47bb-0310-9956-ffa450edef68
2011-01-08 12:36:08 +00:00
Marco Risaliti 52c63296e9 Internationalization of ServiceUtil.returnSuccess, ServiceUtil.returnFailure, ServiceUtil.returnError (OFBIZ-4091)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1056697 13f79535-47bb-0310-9956-ffa450edef68
2011-01-08 12:21:51 +00:00
Marco Risaliti 8d664136c9 Internationalization of ServiceUtil.returnSuccess, ServiceUtil.returnFailure, ServiceUtil.returnError (OFBIZ-4091)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1056687 13f79535-47bb-0310-9956-ffa450edef68
2011-01-08 10:51:17 +00:00
Vikas Mayur 195b458d3b Bug fix - If an order placed with a billing account is edited then the billing account amount under payment section on order detail page wasn't updated to the new order amount.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1056686 13f79535-47bb-0310-9956-ffa450edef68
2011-01-08 10:34:58 +00:00
Jacques Le Roux 15e2f44116 A patch from Sascha Rodekamp "jQuery ecommerce onepagecheckout issue" (https://issues.apache.org/jira/browse/OFBIZ-4067) - OFBIZ-4067
Rohit reported a bug in the jQuery implementation (ecommerce):
With the jQuery branch being merged into the trunk, 2 new issues have been identified in the onepagecheckout, and they are:
    1) the remove item link does not work in the shoppingcart panel, and
    2) the cart is not updated if cart quantity is changed or promo codes are entered.

There was also a caching problem in IE.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1056672 13f79535-47bb-0310-9956-ffa450edef68
2011-01-08 09:18:05 +00:00