Commit Graph
27737 Commits
Author SHA1 Message Date
Marco Risaliti dc90fc119b A missing translation of production run report, better italian labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059535 13f79535-47bb-0310-9956-ffa450edef68
2011-01-16 11:18:05 +00:00
Bilgin Ismet Ibryam 9904b2b1a9 Allow calling simple method in form actions
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059529 13f79535-47bb-0310-9956-ffa450edef68
2011-01-16 10:47:31 +00:00
Hans Bakker f275958aaf add some meaningfull table data for the review item and change the order of the fields in a more meaningfull way
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059520 13f79535-47bb-0310-9956-ffa450edef68
2011-01-16 09:22:07 +00:00
Adrian Crum b22caf0d18 Small fixup for previous commit - "test page" sounds less technical than "test jig."
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059437 13f79535-47bb-0310-9956-ffa450edef68
2011-01-16 02:51:20 +00:00
Adrian Crum fd2b63c3d8 Fixed a bug in HtmlMenuRenderer.java - menu item widget-style attribute was being ignored.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059433 13f79535-47bb-0310-9956-ffa450edef68
2011-01-16 02:18:43 +00:00
Adrian Crum 805555b0f1 New feature - Page Layout Best Practices demonstration and visual theme test jig.
Based on a recent dev mailing list discussion, I added a page to the Example component that demonstrates some basic layout concepts. The idea is to display the page, then look at the screen widget definition and the HTML markup to see how the page is constructed.

The page can also be used for visual theme development - because most of the common UI elements are all on one page.

This could be improved - it needs a multi-column layout example, a tree widget example, and a form widget field group example.

Internationalization note: This commit contains new UI labels.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059429 13f79535-47bb-0310-9956-ffa450edef68
2011-01-16 01:14:21 +00:00
Adrian Crum 78682e55ee Parameterize form widget odd-row-style, header-row-style, and default-table-style attributes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059425 13f79535-47bb-0310-9956-ffa450edef68
2011-01-16 00:10:25 +00:00
Adrian Crum 8254c6930a Fix capitalization on CommonSelected UI label.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059424 13f79535-47bb-0310-9956-ffa450edef68
2011-01-16 00:08:21 +00:00
Adrian Crum de0ac1ce2e Named some of the GlobalDecorator sections so they're easier to find in markup.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059391 13f79535-47bb-0310-9956-ffa450edef68
2011-01-15 19:00:04 +00:00
Jacques Le Roux e77b9d2468 Removes an empty useless function. 1st step for https://issues.apache.org/jira/browse/OFBIZ-1319
I will also see if regrouping all OFBIz js functions loaded in framework commonscreen in a sole file is not interesting. By and large I will follow/adapt advices in http://www.ibm.com/developerworks/web/library/wa-aj-jsajaxperf/index.html

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059382 13f79535-47bb-0310-9956-ffa450edef68
2011-01-15 18:00:48 +00:00
Adrian Crum 316111c459 Removed deprecated box* CSS styles from some screen widgets.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059364 13f79535-47bb-0310-9956-ffa450edef68
2011-01-15 16:27:42 +00:00
Marco Risaliti b28e0e1a14 Internationalization of ServiceUtil.returnSuccess, ServiceUtil.returnFailure, ServiceUtil.returnError (OFBIZ-4091)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059362 13f79535-47bb-0310-9956-ffa450edef68
2011-01-15 15:59:14 +00:00
Marco Risaliti b96bd103e8 Internationalization of ServiceUtil.returnSuccess, ServiceUtil.returnFailure, ServiceUtil.returnError (OFBIZ-4091)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059352 13f79535-47bb-0310-9956-ffa450edef68
2011-01-15 15:14:49 +00:00
Jacopo Cappellato 5bdda5c324 Fixed a series of bugs (parameters not properly passed to screens and forms) that were affecting the "Performance Review" screens of humanres.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059340 13f79535-47bb-0310-9956-ffa450edef68
2011-01-15 14:13:44 +00:00
Marco Risaliti 402b8385b4 Internationalization of ServiceUtil.returnSuccess, ServiceUtil.returnFailure, ServiceUtil.returnError (OFBIZ-4091)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059306 13f79535-47bb-0310-9956-ffa450edef68
2011-01-15 11:54:04 +00:00
Jacques Le Roux c3afb97c56 A patch from Paul Foxworthy "updateRequirement savedValue variable never used" (https://issues.apache.org/jira/browse/OFBIZ-4113) - OFBIZ-4113
The updateRequirement simple method in applications/order/script/org/ofbiz/order/requirement/RequirementServices.xml
creates a variable called savedValue that is never used.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059302 13f79535-47bb-0310-9956-ffa450edef68
2011-01-15 11:22:09 +00:00
Marco Risaliti ca77476bd3 Internationalization of ServiceUtil.returnSuccess, ServiceUtil.returnFailure, ServiceUtil.returnError (OFBIZ-4091)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059301 13f79535-47bb-0310-9956-ffa450edef68
2011-01-15 11:22:00 +00:00
Jacques Le Roux 0c7d2d9be9 From Jacopo's remark on user ML: filterByDate was missing, hence possible obsolete variants could have been taken into account
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059279 13f79535-47bb-0310-9956-ffa450edef68
2011-01-15 10:03:48 +00:00
Hans Bakker cd5091ae6d revert 1058891, agreed with jacopo so he can implement a better solution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059271 13f79535-47bb-0310-9956-ffa450edef68
2011-01-15 08:13:59 +00:00
Jacques Le Roux a472bdcb74 A modified patch from Sascha based on an intial patch from Abdullah Shaikh "permission error on cancel order item from ecommerce" (https://issues.apache.org/jira/browse/OFBIZ-3075) - OFBIZ-3075
If I cancel an order item from ecommerce. I get, the below error displayed on the page. 
The Following Errors Occurred:
Unable to cancel order line : WSCO11640 / 00001 / null

There have been a discussion about it in this thread http://markmail.org/message/dfkudyvbksvls333

How it works: you can cancel an order item if you create it or have the ORDERMGR_CREATE or ORDERMGR_UPDATE permissions (I added the later to Sascha's patch, else the order manager would be annoyed ;o)
I think this makes sense, because AFAIK there are no other UIs than 
https://demo-trunk.ofbiz.apache.org/ordermgr/control/editOrderItems?orderId=...
and 
https://demo-trunk.ofbiz.apache.org:8443/ecommerce/control/orderstatus?orderId=...
to cancel an order item. So nobody should be able to bypass his/her permissions... Of course, let me know if you think I could have missed something, thanks

Note also that we had to remove fullPath="true" in <@ofbizUrl>cancelOrderItem</@ofbizUrl> (orderitems.ftl), to avoid InsecureFormPostToSecureRequest error. I don't think it raises any security issues though, has it's done from a javascript call with hidden orderItemSeqId parameter.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059180 13f79535-47bb-0310-9956-ffa450edef68
2011-01-14 21:47:23 +00:00
Adrian Crum 3045d7d83c Corrected English spelling on Work Effort and Web Tools UI labels.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1059066 13f79535-47bb-0310-9956-ffa450edef68
2011-01-14 16:41:30 +00:00
Anil Patel ccab295a91 Fixing bug where transactions with zero amount in debit and credit fields were not getting posted.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1058934 13f79535-47bb-0310-9956-ffa450edef68
2011-01-14 10:46:40 +00:00
Anil Patel 1bf6299d46 Fixing bug where transactions with zero amount in debit and credit fields were not getting posted.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1058933 13f79535-47bb-0310-9956-ffa450edef68
2011-01-14 10:44:17 +00:00
Hans Bakker 6afa93d849 made the employee review item work, corrected a completely wrong entity definition prefreviewitem, services now work again and added new type data. Added buttons to be able to select reveiw and item list NOTE: This change needs recreating of the PerfReviewItem index, the fields and format did not change, just the indexing
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1058891 13f79535-47bb-0310-9956-ffa450edef68
2011-01-14 08:40:01 +00:00
Marco Risaliti 5ecbf7edf5 Reverted revision 1058311 for buildbot failure
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1058781 13f79535-47bb-0310-9956-ffa450edef68
2011-01-13 22:57:44 +00:00
Jacques Le Roux 673804eb6c As requested by Jacopo on dev ML, moves setPriceRulesCondEventJs.ftl from framework to product/catalog
Also fix an orthograph error in a related French labels

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1058719 13f79535-47bb-0310-9956-ffa450edef68
2011-01-13 19:55:07 +00:00
Jacques Le Roux 31f5ea0a15 Rather use default than "async: true" (which is the default)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1058703 13f79535-47bb-0310-9956-ffa450edef68
2011-01-13 18:27:38 +00:00
Jacques Le Roux 6b84b36497 Fix from Jonatan's comment here https://issues.apache.org/jira/browse/OFBIZ-3978?focusedCommentId=12925320&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_12925320
I found an error in applications/order/webapp/ordermgr/images/js/geoAutoCompleter.js on getAssociatedStateList function.

jQuery.ajax({
url: requestToSend,
sync: false,
type: "POST",
data: {countryGeoId: countryGeoId},
success: function(data) {

sync:false should be replaced by async:true.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1058700 13f79535-47bb-0310-9956-ffa450edef68
2011-01-13 18:25:01 +00:00
Jacopo Cappellato 674a4f8e1c Another missing license header
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1058597 13f79535-47bb-0310-9956-ffa450edef68
2011-01-13 15:06:14 +00:00
Jacopo Cappellato c08b4aa899 Added missing license header
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1058593 13f79535-47bb-0310-9956-ffa450edef68
2011-01-13 15:00:14 +00:00
Jacopo Cappellato c4ff3a401c Another group of missing licence heders.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1058590 13f79535-47bb-0310-9956-ffa450edef68
2011-01-13 14:51:38 +00:00
Jacopo Cappellato 0ed73fe64c Added a bunch of missing license headers.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1058580 13f79535-47bb-0310-9956-ffa450edef68
2011-01-13 14:25:38 +00:00
Jacques Le Roux 05bf24a83e A patch from Sascha Rodekamp <<Error when "Add All to Cart" or "Add Checked to Cart" viewing an order in ecommerce>> (https://issues.apache.org/jira/browse/OFBIZ-3881) - OFBIZ-3881
The reason for the bug was that the request was called with an additional orderId get parameter. But the orderId was still in the parameter map so the request handler created with these two orderIds a orderId List. These list couldn't be interpreted from the groovy script(because a string was expected). The result was the error message.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1058488 13f79535-47bb-0310-9956-ffa450edef68
2011-01-13 10:27:49 +00:00
David E. Jones d6536c712a Added return adjustment and mappings for the VAT price correction, which was missing before causing returns from order using it to fail
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1058377 13f79535-47bb-0310-9956-ffa450edef68
2011-01-13 00:48:57 +00:00
Marco Risaliti 32fe6506ac 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@1058341 13f79535-47bb-0310-9956-ffa450edef68
2011-01-12 22:26:05 +00:00
Marco Risaliti 9ba03238f6 Internationalization of ServiceUtil.returnSuccess, ServiceUtil.returnFailure, ServiceUtil.returnError (OFBIZ-4091)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1058311 13f79535-47bb-0310-9956-ffa450edef68
2011-01-12 20:54:25 +00:00
Jacques Le Roux 29458f23a8 Remove unrelated changes that slipped in with r1058197
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1058198 13f79535-47bb-0310-9956-ffa450edef68
2011-01-12 15:43:04 +00:00
Jacques Le Roux 2bfcc945e3 A patch from Martin Kreidenweis "Adding content in CMS using add long text (right mouse click) doesn't work" (https://issues.apache.org/jira/browse/OFBIZ-4079) - OFBIZ-4079
Fixes some bugs in CMS introduced in svn r1036195 when migrating from dojo to jQuery:
* reverted accidental logic change in callDocument() that broke the "new ..." context menu items
* making elRTE "save" toolbar button work: same behavior as the regular "Save" button
* using regular form submit instead of ajax for new content for now
  o ajaxSubmitForm() can't handle new content, it won't reload the form because it doesn't know the new contentId
    + some controller changes would probably be necessary to make that work (return new contentId as JSON)
  o nav tree is not updated with ajax submit currently
* now always creating editor if corresponsing html element exists
  o editor was not initialized when WebSiteCMSContent screen was loaded by non-ajax call


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1058197 13f79535-47bb-0310-9956-ffa450edef68
2011-01-12 15:39:29 +00:00
Hans Bakker 2faaa0f53e correction on commit 1058077
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1058148 13f79535-47bb-0310-9956-ffa450edef68
2011-01-12 14:06:27 +00:00
Hans Bakker 0e47424d71 add an additional input parameter to the update communicationevent to select a specific purpose 'from' emailaddress
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1058077 13f79535-47bb-0310-9956-ffa450edef68
2011-01-12 11:15:10 +00:00
Ashish Vijaywargiya 32a5f96fba Minor bug fixes.
1. Changed 'uiLabel' to 'uiLabelMap'.
2. Added condition to avoid null pointer exception.
3. Fixed issue of JS function. 
Thanks Arun! 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1058057 13f79535-47bb-0310-9956-ffa450edef68
2011-01-12 10:45:00 +00:00
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