Commit Graph
15602 Commits
Author SHA1 Message Date
Jacques Le Roux d689474ae1 Update the copyright date in NOTICE file
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@995687 13f79535-47bb-0310-9956-ffa450edef68
2010-09-10 07:25:47 +00:00
Jacques Le Roux 84fb49d051 A patch from Wai "missing request-maps for search related buttons" (https://issues.apache.org/jira/browse/OFBIZ-3929) - OFBIZ-3929
Missing request-maps in ordermgr controller.xml:
clearSearchOptionsHistoryList
setCurrentSearchFromHistory
setCurrentSearchFromHistoryAndSearch

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@995686 13f79535-47bb-0310-9956-ffa450edef68
2010-09-10 07:13:41 +00:00
Jacques Le Roux 4734a1a5b6 Changes all PermSize default values from 128 to 512. It's anyway a Max, so no worries and less troubles. On the demo server we use 512 for both instances
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@995580 13f79535-47bb-0310-9956-ffa450edef68
2010-09-09 21:32:44 +00:00
Jacques Le Roux 8796a24839 A patch from Gil Portenseigne "Error while creating a facilityContactMech if no purpose is given" (https://issues.apache.org/jira/browse/OFBIZ-3928) - OFBIZ-3928
Gil: When creating a new facility contactMech, a facilityContactMechPurpose is automatically created, even if there is no contactMechPurposeTypeId is given in parameters.
The problem is that it's impossible to create a FacilityContactMechPurpose without purpose, and contactMechPurposeTypeId is optional in service parameters. 

JLR: so it makes sense if we don't want to change the service definition (ie make contactMechPurposeTypeId mandatory).

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@995453 13f79535-47bb-0310-9956-ffa450edef68
2010-09-09 15:04:14 +00:00
Ashish Vijaywargiya 4f8585623a Fixing bug of reading node name. When we read first child element of the response of any third party integration for example ups etc, node name can't be read using "node.getLocalName()". So changing node.getLocalName() --> node.getNodeName().
Thanks Vivek for the contribution. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@995384 13f79535-47bb-0310-9956-ffa450edef68
2010-09-09 11:32:28 +00:00
Jacopo Cappellato b1141209c3 Refactored and improved the way the information about inventory items created by a production run is retrieved in the form; also added the status of the inventory: this fixes a functional bug where defective inventory items were shown together with valid ones and it was not possible for the user to figure out if the planned quantity for the production run was fulfilled or not.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@995330 13f79535-47bb-0310-9956-ffa450edef68
2010-09-09 06:41:44 +00:00
Jacopo Cappellato e9245919a4 Fix for a rather important functional bug: dependent production runs were always created when a production run is created manually (and not from requirements etc.); in my opinion this should never happen, but I understand that it can be useful in some rare occasions, so I have added the option to select if mandatory production runs have to be created or not.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@995325 13f79535-47bb-0310-9956-ffa450edef68
2010-09-09 06:35:24 +00:00
David E. Jones b69664a9d6 Fixed two issues: renderDisplayField macro was missing the title attribute, implemented the multi-position single forms, for a maximum position of 2 anyway
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@995313 13f79535-47bb-0310-9956-ffa450edef68
2010-09-09 04:35:26 +00:00
Adam Heath be51724bc6 Expose actions variable to other code.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@995207 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 19:03:48 +00:00
Adam Heath 5ee6d42aef Move duplicated code that has one screen widget calling another screen,
into a global helper method.  Eventually, this method will be altered to
be able to 'change' which screen is actually included, based on various
conditions at runtime.  This will be used to eventually support partial
ajax page updates.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@995206 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 19:03:42 +00:00
Adam Heath b5b019e4fe DecoratorSection was already fetching its name attribute from the
element; so call getName() on it, instead of fetching the attribute
locally.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@995205 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 19:03:36 +00:00
Adam Heath 87a61d524f Remember the node's systemId, startColumn, and startLine, and use them
in a default toString() implementation.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@995204 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 19:03:31 +00:00
Adam Heath 3b4793f968 Enable tracking of xml node positions when reading documents.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@995203 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 19:03:24 +00:00
Adam Heath 32fd7f2533 Add systemId to xml node location tracking; this is based on the
docDescription passed in, which in normal cases is the URL.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@995202 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 19:03:18 +00:00
Adam Heath f8f89ac3c8 Add ReturnHeader.supplierRmaId, an informational header, to provide a
field to support tracking of rmas by suppliers.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@995201 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 19:03:12 +00:00
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