Commit Graph
27737 Commits
Author SHA1 Message Date
Adam Heath 556d795264 On view enitity ProductFeatureAndAppl, and relations to the 2 member
entities, ProductFeature and ProductFeatureAppl.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@995200 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 19:03:07 +00:00
Adam Heath a372e64111 Add a missing attribute, recurringAmount, for service
updateFeatureToProductApplication.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@995199 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 19:03:02 +00:00
Adam Heath 923bf9d8ff Fix several overly wide screens in specialpurpose/ecommerce:
1: product detail hard-coded the width of the image, even if the actual
image was smaller.
2: products with surveys(gift card purchase) were overly large, which
caused them to float below the left content.
3: the header on productcategory listings had background lines that
overflowed underneath the left and right columns.

The ecommerce app is now closer to something we'd actually show a real
customer, in its default configuration.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@995198 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 19:02:58 +00:00
Jacques Le Roux f5012cfbf8 1st pass on Example component clean-up
I began to clean and make things consistent for lookups (in order to demonstrate the new Name/id mechanism) but then I realized that it should use Example entity and not Party. I will change that later and will remove all out-of-framework dependencies in the Example component 

* I have added an example of the new Name/id mechanism
* I removed deprecated snippets in ExampleForms (some were already commented out) and used rather LookupExampleFeature enhanced with autocomplete
* In FormWidgetExampleForms.xml I tried to clean things for the autocomplete in the 1st lookup, but I thing there is an issue when more than one name field is retrieved. It does not behave consistently, try for a Person and a PartyGroup for instance...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@993527 13f79535-47bb-0310-9956-ffa450edef68
2010-09-07 20:46:32 +00:00
Jacques Le Roux dec4ab2572 Introduces a very simple mean to set a dependent Id field when using a Name field as a lookup (the fields must have the same prefix, eg: partyName, partyId).
It uses the description (Id) shown with the Name. Hence the Lookup screen must be set in order to show a description in the autocomplete part. 
It seems this is not always easy notably when you need to show at least 2 parts for the Name (eg Person). 
At least it easy to set and it works well for simples case for now (eg PartyGroup)

I did not find another way since Ajax.Autocompleter can't update another field. 
The alternative would be navigation to the next hidden field, at least it would avoid the mandatory Id/Name pair. 
But it's more difficult to demonstrate in Example component


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@993508 13f79535-47bb-0310-9956-ffa450edef68
2010-09-07 19:55:49 +00:00
David E. Jones d5ef229814 For response -> redirect-parameter element added value attribute so you can specify a static value to include in the redirected URL
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@993489 13f79535-47bb-0310-9956-ffa450edef68
2010-09-07 19:27:07 +00:00
Erwan de Ferrieres cd6c9502c2 OFBIZ-3912 -- Impossible to check DB by webtools https://issues.apache.org/jira/browse/OFBIZ-3912 -- A patch from Nicolas Malin\n DatabaseUtil needs a GenericHelperInfo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@993407 13f79535-47bb-0310-9956-ffa450edef68
2010-09-07 16:02:38 +00:00
Erwan de Ferrieres 0b8998e9e1 Missing French uiLabel for FormFieldTitle_decoratorContentId
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@993401 13f79535-47bb-0310-9956-ffa450edef68
2010-09-07 15:51:54 +00:00
Erwan de Ferrieres cd78a16fba OFBIZ-3647 Create dataResource from content -- A patch from Nicolas Malin -- https://issues.apache.org/jira/browse/OFBIZ-3647
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@993395 13f79535-47bb-0310-9956-ffa450edef68
2010-09-07 15:30:21 +00:00
Ashish Vijaywargiya 9adc1e0669 Applied patch from jira issue - OFBIZ-3924 - Bug on creating Communication event for order return emails(return accept, return complete and return cancel).
Bug on creating Communication event for order return emails(return accept, return complete and return cancel). Attached return pdf along with return emails.

Thanks Anurag for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@993387 13f79535-47bb-0310-9956-ffa450edef68
2010-09-07 15:03:20 +00:00
Erwan de Ferrieres f0c96bacc8 OFBIZ-3854 Separate AddPartyRole form to main and second role -- a patch from Nicolas Malin
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@993381 13f79535-47bb-0310-9956-ffa450edef68
2010-09-07 14:34:00 +00:00
Ashish Vijaywargiya 4607fdd36e Applied patch from jira issue - OFBIZ-3923 - Bug in updating local file content.
attachUploadToDataResource (member service of updateContentAndUploadedFile service group) service calls saveLocalFileDateResource simple method to save the local file and attach it to data resource. The case where updating a local file content but not uploading a new file is being handled but doesn't work since on finding DataResource object "isUpdate" flag is not set to "Y".

Here is the patch for the fix. Also fixed typo in simple method name, saveLocalFileDateResource => saveLocalFileDataResource.

Thanks Mridul for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@993344 13f79535-47bb-0310-9956-ffa450edef68
2010-09-07 13:19:02 +00:00
Erwan de Ferrieres cdf2a35342 Better French roles description for calendar participants
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@993309 13f79535-47bb-0310-9956-ffa450edef68
2010-09-07 10:06:14 +00:00
Bruno Busco cca950be37 Converted WebTools->Logs->Service logs screen from FTL to form widget
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@992791 13f79535-47bb-0310-9956-ffa450edef68
2010-09-05 14:19:11 +00:00
Bruno Busco 05113af8b5 Converted WebTools->Entity performance test screens from FTL to form widgets
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@992785 13f79535-47bb-0310-9956-ffa450edef68
2010-09-05 13:54:46 +00:00
Bruno Busco 725a650e09 Added a little top margin to help paragraphs
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@992721 13f79535-47bb-0310-9956-ffa450edef68
2010-09-05 08:00:07 +00:00
Bruno Busco 4a5126fd9c Added some content to the WebTools main help page.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@992720 13f79535-47bb-0310-9956-ffa450edef68
2010-09-05 07:59:03 +00:00
Scott Gray c2dd8319ba Fixed startup warnings regarding some view entity definitions.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@992688 13f79535-47bb-0310-9956-ffa450edef68
2010-09-04 21:43:50 +00:00
Scott Gray 446c2e0f83 Remove commented view definition because the same definition is present elsewhere in the file anyway.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@992687 13f79535-47bb-0310-9956-ffa450edef68
2010-09-04 21:43:23 +00:00
Bruno Busco 610b0291bc Added column sorting feature to WebTools cache forms.
It should be further improved since at the moment numbers are sorted as strings (10 is sorted before 2).
This is a new pattern that can be used to sort columns in forms where data come from Maps not directly retrieved from Entities.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@992682 13f79535-47bb-0310-9956-ffa450edef68
2010-09-04 21:19:56 +00:00
Bruno Busco de3b9362a8 Changed indentation from 2 to 4 spaces.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@992615 13f79535-47bb-0310-9956-ffa450edef68
2010-09-04 14:48:12 +00:00
Bruno Busco 1eecb10890 Converted WebTools->Cache screens from FTL to form widgets
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@992613 13f79535-47bb-0310-9956-ffa450edef68
2010-09-04 14:37:32 +00:00
Bruno Busco 9b22452922 Converted WebTools->Statistics screens from FTL to form widgets
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@992491 13f79535-47bb-0310-9956-ffa450edef68
2010-09-03 21:58:57 +00:00
Bruno Busco 156d8b1a74 Converted part of thread list screen from FTL to form widgets
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@992447 13f79535-47bb-0310-9956-ffa450edef68
2010-09-03 20:05:55 +00:00
Bruno Busco 9f557eae9e Added the "default-value" attribute to the "display" tag.
This allows to specify a string to be shown in a display field when it is empty.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@992441 13f79535-47bb-0310-9956-ffa450edef68
2010-09-03 19:55:08 +00:00
Bruno Busco fbbe6a7c31 Better Italian labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@992400 13f79535-47bb-0310-9956-ffa450edef68
2010-09-03 18:14:28 +00:00
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
Ashish Vijaywargiya e0480153e0 Showing OrderId adjacent to Bin #.
Thanks Anurag for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@992297 13f79535-47bb-0310-9956-ffa450edef68
2010-09-03 13:50:23 +00:00
Erwan de Ferrieres 772a10ec45 Since 990004, facilityContactMechPurposeType is now mandatory, adding a drop-down so the user can select one
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@992247 13f79535-47bb-0310-9956-ffa450edef68
2010-09-03 09:54:12 +00:00
Ashish Vijaywargiya 4474b06d4f Applied patch from jira issue OFBIZ-3921 - Return PDF should contain reason of return.
Thanks Anurag for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@992244 13f79535-47bb-0310-9956-ffa450edef68
2010-09-03 09:48:07 +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
Jacques Le Roux 35b88664fd A patch from Sam Hamilton "update rc scripts & README to include MaxPermSize" (https://issues.apache.org/jira/browse/OFBIZ-3914) - OFBIZ-3914
Updates the RC scripts and the README files to include the MaxPermSize that is already in the OFBiz startofbiz scripts

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@991129 13f79535-47bb-0310-9956-ffa450edef68
2010-08-31 09:28:04 +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
Jacopo Cappellato d972ee8dda Fixed a fop runtime error happening when no materials or no tasks were defined.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@990726 13f79535-47bb-0310-9956-ffa450edef68
2010-08-30 08:24:10 +00:00
Jacques Le Roux 2cc0283da6 <?xml version="1.0" encoding="iso-8859-1"?> allows to read accentuated characters in Docbook
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@990539 13f79535-47bb-0310-9956-ffa450edef68
2010-08-29 10:53:28 +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
Scott Gray 1a86d7d4b6 Replace null check with a null safe expression (even though productTypeId should never be null anyway)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@990334 13f79535-47bb-0310-9956-ffa450edef68
2010-08-28 09:47:07 +00:00
Scott Gray 7956d456d6 Continue with the next iteration on exception, prevents potential NPE
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@990333 13f79535-47bb-0310-9956-ffa450edef68
2010-08-28 09:46:58 +00:00
Scott Gray fcfa1386e5 Replace date condition with in-memory date filtering
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@990332 13f79535-47bb-0310-9956-ffa450edef68
2010-08-28 09:46:48 +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
Ashish Vijaywargiya aaec638d26 Applied patch from jira issue OFBIZ-3904 - Bug in calling methods defined in Usps Services.
Calling "getPackageSplit" & "calcPackageWeight" methods from outside of the class causes compilation error, as their access modifiers are private. 
So fixing this bug, following points are covered in this commit.
1) Moving "getPackageSplit" and "calcPackageWeight" from UspsServices.java to ShipmentWorker.java. They are not Usps third party related methods.
2) Changing access modifiers of these methods to public.

Thanks Vivek for the contribution. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@990127 13f79535-47bb-0310-9956-ffa450edef68
2010-08-27 12:35:29 +00:00
Jacopo Cappellato 0f4c0e143e Fixed an issue (NPE) that was preventing the cost and qoh calculation in the scalar explosion; slightly improved layout of scalar explosion; added weight information.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@990097 13f79535-47bb-0310-9956-ffa450edef68
2010-08-27 11:01:44 +00:00
Jacopo Cappellato e7c2988ede Fixed a series of layout issues that were preventing the production run pdf to be really useful (overlapping contents, messed up fields etc...)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@990086 13f79535-47bb-0310-9956-ffa450edef68
2010-08-27 10:24:13 +00:00