Commit Graph
14211 Commits
Author SHA1 Message Date
Adam Heath a637cd1a90 Improve polish notation, by suffixing Nanos, and removing 'In' keyword.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926917 13f79535-47bb-0310-9956-ffa450edef68
2010-03-24 03:19:30 +00:00
Adam Heath 3869beaa98 Implement Serializable, so this can be saved to disk and other
locations.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926916 13f79535-47bb-0310-9956-ffa450edef68
2010-03-24 03:19:03 +00:00
Adam Heath 9a89157c71 Implement hashCode, which is required when equals is implemented.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926915 13f79535-47bb-0310-9956-ffa450edef68
2010-03-24 03:18:35 +00:00
Adam Heath dbc48e2b1e Remove useless StringBuilder instantiation.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926914 13f79535-47bb-0310-9956-ffa450edef68
2010-03-24 03:18:07 +00:00
Hans Bakker cfc2ebc419 Ebaystore: Changed the label names and added new fields in find/list Active listing screen.(Added fields SKU, reservePrice, hitCount and add link so the user can click and see their Item detail on eBay site)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926913 13f79535-47bb-0310-9956-ffa450edef68
2010-03-24 03:16:56 +00:00
Adam Heath 3623c1c8df Add new annotation, SourceMonitor, which provides a source-level
documention of which people, on which mailing list, will be giving extra
attention to changes to the annotated classes, constructors, and
methods.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926912 13f79535-47bb-0310-9956-ffa450edef68
2010-03-24 03:16:50 +00:00
Hans Bakker 92e4601342 show portal page names correctly in tomahawk theme
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926908 13f79535-47bb-0310-9956-ffa450edef68
2010-03-24 02:59:07 +00:00
Adam Heath d06217cffb Fix very slow startup times, by turning off excessive debugging. This
gave a 40% speedup in startup time on a production server.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926874 13f79535-47bb-0310-9956-ffa450edef68
2010-03-24 00:08:40 +00:00
Scott Gray 5f29c1e85d Improve some List null/size checking
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926858 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 23:39:25 +00:00
Scott Gray 7f9141fb44 allCategories can't be null here
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926857 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 23:39:20 +00:00
Scott Gray 54616b2b9c Simplify some list manipulation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926856 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 23:39:13 +00:00
Scott Gray 0701297568 Remove unused variable assignments
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926855 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 23:39:07 +00:00
Scott Gray 2ac843b612 Remove unnecessary null assignments
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926854 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 23:39:01 +00:00
Scott Gray 2e3907b2d6 The following deprecated classes, constructors or methods have been removed:
org.ofbiz.product.category.CategoryWorker.getCatalogTopCategory(PageContext, String)
- Use CategoryWorker.getCatalogTopCategory(ServletRequest, String) instead
org.ofbiz.product.category.CategoryWorker.getCategoriesWithNoParent(PageContext, String)
- Use CategoryWorker.getCategoriesWithNoParent(ServletRequest, String) instead
org.ofbiz.product.category.CategoryWorker.getRelatedCategories(PageContext, String, boolean)
- Use CategoryWorker.getRelatedCategories(ServletRequest, String, boolean) instead
org.ofbiz.product.category.CategoryWorker.getRelatedCategories(PageContext, String, String, boolean)
- Use CategoryWorker.getRelatedCategories(ServletRequest, String, String, boolean) instead
org.ofbiz.product.category.CategoryWorker.getRelatedCategoriesRet(PageContext, String, String, boolean)
- Use CategoryWorker.getRelatedCategoriesRet(ServletRequest, String, String, boolean) instead
org.ofbiz.product.category.CategoryWorker.setTrail(PageContext, String)
- Use CategoryWorker.setTrail(ServletRequest, String) instead
org.ofbiz.product.category.CategoryWorker.getTrail(PageContext)
- Use CategoryWorker.getTrail(ServletRequest) instead
org.ofbiz.product.category.CategoryWorker.setTrail(PageContext, List<String>)
- Use CategoryWorker.setTrail(ServletRequest, List<String>) instead
org.ofbiz.product.category.CategoryWorker.checkTrailItem(PageContext, String)
- Use CategoryWorker.checkTrailItem(ServletRequest, String) instead
org.ofbiz.product.category.CategoryWorker.lastTrailItem(PageContext)
- Use CategoryWorker.lastTrailItem(ServletRequest) instead

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926853 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 23:38:55 +00:00
Scott Gray d51b9d0547 The following deprecated classes, constructors or methods have been removed:
org.ofbiz.workeffort.project.ProjectWorker containing the following methods:
getAssignedProjects(PageContext, String)
getAllAssignedProjects(PageContext, String)
getAllProjectPhases(PageContext, String)
getAllPhaseTasks(PageContext, String)
getTaskNotes(PageContext, String)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926852 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 23:38:43 +00:00
Adrian Crum 7125cab539 Small fixup for last commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926825 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 22:44:29 +00:00
Adrian Crum 50cc22e375 Added the ability for screen widgets to invoke Groovy script methods. Groovy script methods do not have parameters; parameters are passed in the context - just like other screen widget actions. To use:
<actions>
  <script location="groovyLocation#methodName"/>
</actions>


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926819 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 22:34:54 +00:00
Adrian Crum c81c12d286 Added the ability for services to invoke Groovy script methods. Groovy service methods do not have parameters; parameters are passed in the context - just like simple method services.
Removed long comment (unused cache testing code) in GroovyUtil.java.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926780 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 21:05:56 +00:00
Jacopo Cappellato e177f478d1 Fixed invalid value for the "type" attribute of a set operation.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926767 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 20:42:42 +00:00
Andrew Zeneski 495ae7e99b fixed issue with firefox opening the clear links in a new window; changed the javascript to onclick; href is now just a javascript:void()
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926761 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 20:11:53 +00:00
Hans Bakker 7135628833 remove dependency on commext component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926508 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 09:13:04 +00:00
Hans Bakker dec43ddd70 Ebaystore: Service to upload tracking information from ofbiz to the order on the ebay site.(when the user already shipped the product to the buyer by ofbiz service.)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926496 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 08:40:43 +00:00
Hans Bakker 9f61e2d593 ebayStore: Screen for Find/list orders which have been imported from the ebay site and add a condition to find orders from an ebay account.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926491 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 08:18:32 +00:00
Scott Gray edd1849adb Have the cms event use the current request's overrideViewUri (_CURRENT_CHAIN_VIEW_) if present instead of request.getPathInfo(), this allows you to go through a chain of requests before pushing back into cms.
So you can now have a request response push back to cms with something like this:
<response name="success" type="request" value="cms/contentId/mapKey"/>
basically anything that would have worked in the URL will work here, except for relying on the default-request mapping which chained requests ignore, so you have to prefix with cms/ (or whatever your cms uri is)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926418 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 00:47:51 +00:00
Scott Gray 68dd372bdb Add the current overrideViewUri to the request attributes if present so that events can access the additional information if necessary.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926417 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 00:47:46 +00:00
Scott Gray 11576a1b0f Add some more cache usage when verifying the content to be rendered.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926390 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 23:11:24 +00:00
Scott Gray 4219c2781f Use String.valueOf(int) instead of "" + int
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926387 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 23:11:15 +00:00
Bruno Busco b0069a29ab Added a new "Show Content" Portlet.
This allows to show a content element in a portalPage.
A further improvement of this portlet will be to allow a content element list to be shown given the element's father.
Having the application's main page replaced with a portalPage will allow the user to edit this page using the CMS.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926340 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 21:16:45 +00:00
Jacques Le Roux 63039ca952 A patch from Luís Alfredo Harriss Maranesi "Brazilian Portuguese Translation for Order" (https://issues.apache.org/jira/browse/OFBIZ-3573) - OFBIZ-3573
I checked: any duplicates, one small error. I'm not able to check the content though, but I suppose it's right.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926296 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 20:03:27 +00:00
Erwan de Ferrieres 415b2b3fe3 Adding alternate parameter to all the renderers. This was forgotten at r926006
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926250 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 18:31:47 +00:00
Andrew Zeneski 538a0d8829 added link + javascript to clear lookup field when the text area is disabled; also clears the description field if it exists
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926207 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 17:32:25 +00:00
Scott Gray 29c75f6fe2 Rename hasContent variable to hadContent which better reflects what it actually means.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926201 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 17:15:16 +00:00
Scott Gray 53e42796c0 Remove pathInfo.indexOf(/) and just do the split regardless, the end result is the same.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926200 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 17:15:12 +00:00
Scott Gray 6d6699a458 Remove unnecessary null and length check after a string.split(String) call that always returns at least an array of length 1
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926199 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 17:15:07 +00:00
Scott Gray 3008619787 Use the cache when looking for a default content record
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926198 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 17:15:02 +00:00
Scott Gray f33c311218 Fix null checks, pathInfo may be null but pathParsed won't be.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926197 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 17:14:58 +00:00
Scott Gray 7703b69d73 Remove some commented code, keeping it around serves no purpose.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926176 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 16:45:51 +00:00
Scott Gray 23508aa989 Access static fields of HttpServletResponse directly
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926175 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 16:45:46 +00:00
Scott Gray 6d4fe06c5c Formatting tidy up, mostly adding missing spaces. No functional changes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926174 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 16:45:42 +00:00
Jacopo Cappellato c2d9606772 Implemented first version of FIFO and LIFO costing methods in accounting:
1) added new fields to InventoryItem/InventoryItemDetail to keep track of the units posted to INVENTORY accounts according to the costing methods in use
2)  added new field to AcctgTransEntry to keep track of the inventoryItemId that was used to get the cost according to LIFO/FIFO etc... strategy
3) modified existing demo data to support the new costing strategies; enabled by default the LIFO strategy for Company accounting (it was average cost before)
4) code that implements LIFO/FIFO for inventory receipts and sales shipments


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926090 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 14:02:46 +00:00
Jacopo Cappellato 974579c6a8 Fixed typos.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926015 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 10:05:18 +00:00
Ashish Vijaywargiya 095356f237 Its better to pass partyId in context so that custom service could use it without any issue.
Patch from Arun(Thanks!).

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926010 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 09:35:08 +00:00
Erwan de Ferrieres 14ca433955 Adding alternate tag when using hyperlink in forms. If the image is not found, then the alternate text will be displayed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926006 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 09:10:24 +00:00
Jacopo Cappellato 898c441a03 Fixed typo in comment.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@925993 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 08:28:29 +00:00
Bruno Busco bc1b2347ed Better rendering of the Button bars in Tomahawk theme
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@925846 13f79535-47bb-0310-9956-ffa450edef68
2010-03-21 17:56:43 +00:00
Bruno Busco eb414075bf Used the new CommonButtonBarMenu in the ProfileSubTabBar and CommSubTabBar menus in the Party application.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@925844 13f79535-47bb-0310-9956-ffa450edef68
2010-03-21 17:51:29 +00:00
Bruno Busco 203894c260 Added a new common menu "CommonButtonBarMenu". This should be extended to create the screens button menus.
Right now many of the button menus are written using container and link widgets.
Whenever some of them is replaced with a menu widget a CommonButtonBarMenu extension will ensure the proper menu styles.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@925843 13f79535-47bb-0310-9956-ffa450edef68
2010-03-21 17:49:13 +00:00
Bruno Busco dd1870bd7e A lighter background for default buttontext buttons in Tomahawk theme
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@925835 13f79535-47bb-0310-9956-ffa450edef68
2010-03-21 17:33:44 +00:00
Hans Bakker b86b20baf3 allow custreq statuis change from submitted to completed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@925744 13f79535-47bb-0310-9956-ffa450edef68
2010-03-21 09:11:21 +00:00
Jacopo Cappellato 7636f31260 Refactored event search mechanism for the workeffort calendar: there is now a calendar type (personal/manufacturing/..) that can be explicitly used to perform searches (constrained by the traditional fields like facilityId, partyIds, fixedAssetId, workEffortTypeId); previoulsy the concept of "calendar type" was somewhat impled in the search constraints (for example, if facilityId was set then production runs were included in the search results).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@925741 13f79535-47bb-0310-9956-ffa450edef68
2010-03-21 08:34:32 +00:00