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
Hans Bakker
601ca11233
add the note view to the customer request
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@925733 13f79535-47bb-0310-9956-ffa450edef68
2010-03-21 06:46:20 +00:00
Hans Bakker
55d1b45004
add new status to custrequest where one is waiting for an action from the customer
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@925726 13f79535-47bb-0310-9956-ffa450edef68
2010-03-21 04:09:09 +00:00
Hans Bakker
52c5a66b3c
update related portlet links in the commext commponent
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@925725 13f79535-47bb-0310-9956-ffa450edef68
2010-03-21 04:06:54 +00:00
Hans Bakker
3daaf0a95e
show portlets with/without decorators
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@925723 13f79535-47bb-0310-9956-ffa450edef68
2010-03-21 04:05:31 +00:00
Jacques Le Roux
33a61405e5
Fix a typo I introduced while verifying/testing the code at r920061 . I did not notice it because it was still working correctly, certainly not in all cases...
...
Thanks to Atul Vani at "fade-background property doesn't work (just a typo error)" (https://issues.apache.org/jira/browse/OFBIZ-3570 ) - OFBIZ-3570.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@925632 13f79535-47bb-0310-9956-ffa450edef68
2010-03-20 16:12:44 +00:00
Bruno Busco
02974af2e3
Introduced the FindScreenDecorator in the Find Contact Lists Parties screen
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@925625 13f79535-47bb-0310-9956-ffa450edef68
2010-03-20 15:10:47 +00:00
Bruno Busco
f051693f1a
Added proper styles to button bars.
...
Moved TabBar Menu from the "body" decorator-section to the "pre-body" decorator section.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@925624 13f79535-47bb-0310-9956-ffa450edef68
2010-03-20 15:08:03 +00:00
Bruno Busco
7387072b86
Removed a wrong "/" char from menu links
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@925622 13f79535-47bb-0310-9956-ffa450edef68
2010-03-20 15:05:27 +00:00
Bruno Busco
1fd3a7cd58
Better and new Italian labels
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@925618 13f79535-47bb-0310-9956-ffa450edef68
2010-03-20 14:52:15 +00:00
Bruno Busco
c11c5a4d20
Added proper styles to button bars in Contact list screens
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@925483 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19 23:22:26 +00:00
Bruno Busco
edda9c7c5e
Removed a wrong "/" char from menu links
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@925482 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19 23:21:20 +00:00
Bruno Busco
f0ca4dc3a1
Introduced the FindScreenDecorator in the Find Contact Lists screen
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@925475 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19 23:10:23 +00:00
Bruno Busco
1de9fda736
Better Italian labels for Contact list screens
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@925467 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19 22:50:49 +00:00
Bruno Busco
76747f1219
Moved TabBar Menu from the "body" decorator-section to the "pre-body" decorator section.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@925425 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19 21:18:20 +00:00
Bruno Busco
d276cc1be3
Better style for help pages in tomahawk theme
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@925386 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19 19:18:52 +00:00
Jacopo Cappellato
e39db74910
Improved search capabilities of the work effort calendar screens; converted ftl template to form widget.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@925342 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19 17:23:15 +00:00
Erwan de Ferrieres
e934e86fd1
Correcting warning message on too long foreign keys
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@925302 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19 16:17:35 +00:00
Erwan de Ferrieres
3ff5ceb39e
Adding ressource name on PartyIdentificationType
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@925169 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19 10:32:31 +00:00
Jacopo Cappellato
ee63073271
Fixed a series of errors thrown by the depreciation algorithms on certain data (null pointer exceptions, divide by zero operations).
...
This also fixes a bug reported in the users list by Jhanneth Andrade Sajami.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@925162 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19 10:21:41 +00:00
Bilgin Ismet Ibryam
a61f299193
Allow passing from/thru dates to createFacilityContent service.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@925146 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19 08:58:55 +00:00
Scott Gray
a8b40ca086
xhtml fix: & -> &
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@924958 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 19:12:55 +00:00
Scott Gray
6c7f758d92
Don't try to create DropDownMenu objects when the user isn't logged in because the referenced divs don't exist
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@924957 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 19:12:43 +00:00
Bruno Busco
a4089c9c10
Tomahawk theme: Better vertical alignment for the user name in the header
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@924889 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 16:42:09 +00:00
Erwan de Ferrieres
04c52cb59b
Adding missing uiLabel permission
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@924767 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 13:35:34 +00:00