Commit Graph
27737 Commits
Author SHA1 Message Date
Jacques Le Roux 2b879e4dfb Completes French CountryAddressFormat
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1684104 13f79535-47bb-0310-9956-ffa450edef68
2015-06-08 07:37:37 +00:00
Deepak Dixit 216b6491d5 (OFBIZ-6454) Removed duplicate title attibute from RecentFeedback form, Thanks Pierre Smits for reporting the issue.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1684094 13f79535-47bb-0310-9956-ffa450edef68
2015-06-08 05:11:41 +00:00
Christian Carlow ce084046ad Adding support for renderImage in framework/widget/templates/foScreenMacroLibrary.ftl
https://issues.apache.org/jira/browse/OFBIZ-6475

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1684067 13f79535-47bb-0310-9956-ffa450edef68
2015-06-07 19:47:17 +00:00
Christian Carlow e48310e533 Fixing this error caused by id parameter not being assigned to default value for OFBIZ-6403:
FreeMarker template error: When calling macro "makeHyperlinkString", required parameter "id" (parameter #12) was not specified.

https://issues.apache.org/jira/browse/OFBIZ-6403

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1684066 13f79535-47bb-0310-9956-ffa450edef68
2015-06-07 19:41:47 +00:00
Jacques Le Roux af9ccf0c17 A patch from Taher Alkhateeb "Upgrade OFBiz to Java JDK 8" https://issues.apache.org/jira/browse/OFBIZ-6458
1st step: fixes a test which was not passing 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1684042 13f79535-47bb-0310-9956-ffa450edef68
2015-06-07 16:03:04 +00:00
Jacques Le Roux da0c36f015 Adds Postal Address templates for France
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1684031 13f79535-47bb-0310-9956-ffa450edef68
2015-06-07 13:02:57 +00:00
Jacques Le Roux fd0c8a6c27 No functional changes, only syntax improvements
Replaces "?if_exists" occurences by ! 
Removes a test on "?has_content" when not needed (! is enough).
Removes "?if_exists" when useless (after ?has_content)




git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1684030 13f79535-47bb-0310-9956-ffa450edef68
2015-06-07 13:00:27 +00:00
Jacques Le Roux 1c45038747 A slightly modified patch from Pierre Smits "Adding a Postal Address templates for the Netherlands" https://issues.apache.org/jira/browse/OFBIZ-6470
jleroux: I simply replaced "?if_exists" occurences by ! and removed a test on "?has_content" when not needed (! was enough). I will continue in the same spirit on files I committed recently (Forrest Rae's patch) and earlier



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1684026 13f79535-47bb-0310-9956-ffa450edef68
2015-06-07 12:12:34 +00:00
Jacques Le Roux 8a0b8fbe21 A patch from Forrest Rae "Postal Address PDF Formatter Screen Problems" https://issues.apache.org/jira/browse/OFBIZ-6444
A couple updates are needed to the postalAddressPdfFormatter screen:
First, the screen template is set to use the HTML renderer which results in this error in the log:
    [java] 2015-06-03 13:44:53,400 |0.0.0.0-8009-exec-13 |ModelScreenWidget             |W| In platform-dependent could not find template for xsl-fo, using the one for html.

Second, the various PostalAddressXXXX.fo.ftl files do not escape XML properly, and addresses with an & in them end up causing a FreeMarker template error.

Test:  For number 1, just get a "Report" for a quote, and then look at your log file. For number 2, add an "General Correspondence" address to a party that contains an ampersand, like "5th & Oak Street", create a quote for that Party, and then get the "Report" for that quote.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1683998 13f79535-47bb-0310-9956-ffa450edef68
2015-06-07 08:05:25 +00:00
Christian Carlow 1dd09ed536 Replacing deleteCustRequestParty with expireCustRequestParty to be exectuted with newly added Expire <hyperlink> and implementing deleteCustRequestParty to perform <remove-value> instead of updating.
https://issues.apache.org/jira/browse/OFBIZ-6463

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1683953 13f79535-47bb-0310-9956-ffa450edef68
2015-06-06 20:28:34 +00:00
Christian Carlow 1393413594 Fixing consolidated partyId field of r1683879 so that <display-entity> also-hidden="true", otherwise updateCustRequestParty throws error related to primary key
https://issues.apache.org/jira/browse/OFBIZ-6464

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1683949 13f79535-47bb-0310-9956-ffa450edef68
2015-06-06 20:15:50 +00:00
Christian Carlow c943d1526b Replaced submit button uiLabelMap.CommonSubmit text with CommonCreate at order/widget/ordermgr/CustRequestForms.xml#EditRequestRole to improve user understanding that the form only allows creations
https://issues.apache.org/jira/browse/OFBIZ-6465

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1683880 13f79535-47bb-0310-9956-ffa450edef68
2015-06-06 02:50:32 +00:00
Christian Carlow 0b92520145 Consolidated name and partyId fields of order/widget/ordermgr/CustRequestForms.xml#ListRequestRoles by removing name and turning partyId into <display-entity> and converting name <hyperlink> as its <sub-hyperlink>
https://issues.apache.org/jira/browse/OFBIZ-6464

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1683879 13f79535-47bb-0310-9956-ffa450edef68
2015-06-06 02:41:07 +00:00
Christian Carlow f9b4e93a42 Added another ModelFormField.TextField constructor to allow subclass RangeFindField constructor to override the TextField default fieldType of FieldInfo.TEXT with FieldInfo.RANGEQBE
https://issues.apache.org/jira/browse/OFBIZ-6459

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1683832 13f79535-47bb-0310-9956-ffa450edef68
2015-06-05 18:35:13 +00:00
Jacques Le Roux 0acd4839a0 Comment out Greek, no labels yet...
https://issues.apache.org/jira/browse/OFBIZ-5177 "Cleanup UI Labels for languages which aren't well supported"

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1683774 13f79535-47bb-0310-9956-ffa450edef68
2015-06-05 14:48:11 +00:00
Jacques Le Roux 68e64e188c Sorry Frisian we decided you have to go
https://issues.apache.org/jira/browse/OFBIZ-5177 "Cleanup UI Labels for languages which aren't well supported"

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1683761 13f79535-47bb-0310-9956-ffa450edef68
2015-06-05 14:20:18 +00:00
Jacques Le Roux 51eed90c75 PartyClassificationType.description.SIC_CODE was missing in English
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1683754 13f79535-47bb-0310-9956-ffa450edef68
2015-06-05 13:42:18 +00:00
Jacques Le Roux 8497a6d908 Fixes a typo Sharan spotted and Pierre Smits told me
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1683749 13f79535-47bb-0310-9956-ffa450edef68
2015-06-05 13:30:10 +00:00
Nicolas Malin 70cffbfb2c Form widget hyperlink.id attribute isn't supported by MacroFormRenderer.java (OFBIZ-6403) thanks christian carlow for this issue
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1683642 13f79535-47bb-0310-9956-ffa450edef68
2015-06-04 20:55:59 +00:00
Christian Carlow 738a14f53f Added custRequestDate to ordermgr/control/FindRequest ListRequestList because it appears as a find field in FindRequests form.
https://issues.apache.org/jira/browse/OFBIZ-6447

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1683637 13f79535-47bb-0310-9956-ffa450edef68
2015-06-04 20:43:48 +00:00
Christian Carlow 2b72533640 ordermgr/control/FindRequest ListRequestList productStoreId rendered as <display-entity> with storeName as the description and <sub-hyperlink> with link text as [${productStoreId}]
https://issues.apache.org/jira/browse/OFBIZ-6446 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1683619 13f79535-47bb-0310-9956-ffa450edef68
2015-06-04 19:57:58 +00:00
Christian Carlow 4089f658f4 Removing unnecessary <display-entity> key-field-name and description attributes added in r1683580 suggested by Nicolas Malin on ML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1683593 13f79535-47bb-0310-9956-ffa450edef68
2015-06-04 16:57:55 +00:00
Christian Carlow ee65d52710 Added ListRequestList <display-entity> for custRequestTypeId so the description would be displayed instead of the id value to match the find field.
https://issues.apache.org/jira/browse/OFBIZ-6445

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1683580 13f79535-47bb-0310-9956-ffa450edef68
2015-06-04 15:54:47 +00:00
Christian Carlow 6c18f2a28a All <dropdown> fields at order/widget/ordermgr/CustRequestForms.xml#FindRequests were updated with allow-multiple="true" to enable multi-value searches
https://issues.apache.org/jira/browse/OFBIZ-6315



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1683578 13f79535-47bb-0310-9956-ffa450edef68
2015-06-04 15:37:34 +00:00
Jacques Le Roux 033d84eaf5 Fixes 2 duplicates labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1682769 13f79535-47bb-0310-9956-ffa450edef68
2015-05-31 18:49:26 +00:00
Taher A. Alkhateeb 07cb144a6c Translate the framework to Arabic
Another part of the translation of OFBiz to Arabic 
project found in JIRA OFBIZ-6432.

The commit translates the following components (in varying degrees):
- Content
- Order
- Party
- WorkEffort
- more framework translations

refs https://issues.apache.org/jira/browse/OFBIZ-6432


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1682725 13f79535-47bb-0310-9956-ffa450edef68
2015-05-31 12:13:45 +00:00
Taher A. Alkhateeb 62b0f73212 Translate the framework to Arabic
Another part of the translation of OFBiz to Arabic 
project found in JIRA OFBIZ-6432.

The commit translates the following files :
- framework/base/config/DateTimeLabels.xml
- framework/widget/config/conditional.xml

refs https://issues.apache.org/jira/browse/OFBIZ-6432


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1682699 13f79535-47bb-0310-9956-ffa450edef68
2015-05-31 08:49:43 +00:00
Michael Brohl 2d1e765ee6 New German translations and a lot of corrections for the Order Manager.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1682633 13f79535-47bb-0310-9956-ffa450edef68
2015-05-30 18:03:10 +00:00
Taher A. Alkhateeb d685409f67 Translate the accounting component to Arabic
This is one part of the translation to Arabic project found
in JIRA OFBIZ-6432 to fully translate OFBiz to Arabic.

The commit translates the following files fully:
- AccountingUiLabels.xml
- AccountingEntityLabels.xml
- AccountingErrorUiLabels.xml


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1682592 13f79535-47bb-0310-9956-ffa450edef68
2015-05-30 09:14:17 +00:00
Michael Brohl e8272855ad Applied patch from jira issue OFBIZ-6305: German translations for various applications.
This adds translations (entity, error, UI) for the party component.

Thanks Martin Becker for reporting the issue and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1682466 13f79535-47bb-0310-9956-ffa450edef68
2015-05-29 13:44:48 +00:00
Nicolas Malin e3dcdf5098 Apply patch from OFBIZ-6417 renderDateFindField doesn't reselect operation by Christian Carlow
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1682462 13f79535-47bb-0310-9956-ffa450edef68
2015-05-29 13:39:53 +00:00
Jacques Le Roux cba79daa92 Replaces by better labels, stumbled upon it while backporting r1682415 for OFBIZ-6229. I missed it when committing r1667969
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1682444 13f79535-47bb-0310-9956-ffa450edef68
2015-05-29 12:37:29 +00:00
Taher A. Alkhateeb 423d83a51c Provide a fix for OFBIZ-6229 and allow creation of new Geos
Fix the following problems:

- The search screen results take you to the link geos.
  it should go directly to create / edit instead
- You cannot edit a geo because the parameter is not passed across 
  the tabs link and edit / create. The menus should be redefined
  to pass the parameter around
- The primary key is enforced in the service definition when 
  it should be optional to create new geos
- finally, the geoId should not be a lookup field as
  an entity cannot lookup itself

Refs https://issues.apache.org/jira/browse/OFBIZ-6229


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1682415 13f79535-47bb-0310-9956-ffa450edef68
2015-05-29 10:43:41 +00:00
Jacques Le Roux 34fe4d09b6 Better documentation for <<Lookup fields break when used with a form having skip-start="true">> https://issues.apache.org/jira/browse/OFBIZ-6139
I also improved the description of the Jira. Thanks to Pierre Smits's questions who tried the feature.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1682414 13f79535-47bb-0310-9956-ffa450edef68
2015-05-29 10:25:00 +00:00
Nicolas Malin 1e015b79ba Apply patch from OFBIZ-6415 renderTextFindField doesn't reselect operation dropdown or ignoreCase checkbox by christian carlow
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1682342 13f79535-47bb-0310-9956-ffa450edef68
2015-05-28 21:41:52 +00:00
Michael Brohl 0027619e9e Manually applied patch from jira issue OFBIZ-5679: Functionality to add WebSitePathAlias records is missing.
This adds a "Create Website Path Alias" menu item to the WebSiteAliases view and allows to edit/delete teh entries.

Thanks Pierre Smits for reporting the issue and Willem Janssen for providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1682295 13f79535-47bb-0310-9956-ffa450edef68
2015-05-28 18:10:51 +00:00
Jacques Le Roux 6ad4d92057 No functional change, just fixes a trivial formatting issue
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1682282 13f79535-47bb-0310-9956-ffa450edef68
2015-05-28 17:06:31 +00:00
Michael Brohl 3ccfd17f1f Manually applied patch from jira issue OFBIZ-6310: createConditionList doesn't handle widget dropdown multi-submitted values when called by performFind. Adds detection if the field value represents a collection and in this case sets EntityOperator.IN instead of EntityOperator.EQUALS.
Thanks Christian Carlow for reporting the issue and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1682272 13f79535-47bb-0310-9956-ffa450edef68
2015-05-28 16:28:17 +00:00
Michael Brohl 358a7486c5 Applied patch from jira issue OFBIZ-6414: drop-down widget field with allow-multiple="true" does not display current value.
ModelFormField.getEntry returns the string representation of the value corresponding to the field in either the context map or parameters map but when the value is returned as a list [X, Y, Z], the opening and closing brackets are encoded [X, Y, Z]
This prevents the FormRenderer (atleast MacroFormRenderer) from detecting a list object from the string and converting it back to a list
eg - currentValueList = StringUtil.toList(currentValue).

The solution detects a collection value and handles the proper encoding.

Thanks Gareth Carter for reporting the issue and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1682234 13f79535-47bb-0310-9956-ffa450edef68
2015-05-28 12:58:31 +00:00
Michael Brohl 6e499d7655 Code cleanup, no functional changes (https://issues.apache.org/jira/browse/OFBIZ-6420)
Removed unnecessary double checks and corrected exception handling where the catched exception was too broad.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1682214 13f79535-47bb-0310-9956-ffa450edef68
2015-05-28 11:33:52 +00:00
Jacques Le Roux ade74b380f A patch from Pierre Smits "Improve configuration options for Search/Find screens in project mgr." https://issues.apache.org/jira/browse/OFBIZ-6162 part of "Improve configurability of OFBiz regarding multi-tenancy" https://issues.apache.org/jira/browse/OFBIZ-6164
In a multi-tenant setup configuration of the number of rows returned as well as the show the result on accessing a search find screens in project mgr needs to be configurable per tenant.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1682160 13f79535-47bb-0310-9956-ffa450edef68
2015-05-28 07:58:55 +00:00
Jacques Le Roux 6752efbbc3 A patch from Pierre Smits "Have configuration options for sfa" https://issues.apache.org/jira/browse/OFBIZ-6190 part of "Improve configurability of OFBiz regarding multi-tenancy" https://issues.apache.org/jira/browse/OFBIZ-6164
save.outgoing.directory is being used in vcard.java


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1682159 13f79535-47bb-0310-9956-ffa450edef68
2015-05-28 07:56:24 +00:00
Michael Brohl 1613bbee07 Manually applied and modified the changes of the patch from jira issue OFBIZ-6312: Catalog Manager's EditProduct screen HTML should place a limit on the size of text that can be entered in the Product Description box.
Introduces a new maxlength attribute to the textarea element in forms, applies the maxlength (255 chars) value in several FTL files, when the DB is limiting the length.

Thanks Forrest Rae for reporting the issue and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1682132 13f79535-47bb-0310-9956-ffa450edef68
2015-05-27 22:18:29 +00:00
Jacques Le Roux 5c7f0b1fcb This closes "Replace bsh code with Groovy code" https://issues.apache.org/jira/browse/OFBIZ-6332 with all its subtasks and more.
jleroux: I suspected it was only a matter of replacing "${bsh" by "${groovy" in *.xml. But I had not the guts to get into 11(!) sub tasks. 
So, in Eclipse, I simply did a S/R in *.xml and compared parts of my changes with some Pierre's most "complex" patches respectively product, ebaystore, projectmgr and scrum. 
They were totally similar (just revisions number changed) so here is the whole. 

I will later improve these changes by removing HTML entities when possible, this is a bit more delicate because in some cases the XML schema are not complete (or/and for other still obscure to me reasons) and if you simply replace HTML entities by simple code (eg &Amp; by &) you get issues in logs when the XML parser cross them...

Note: only menus, screen and forms are changed here.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1682118 13f79535-47bb-0310-9956-ffa450edef68
2015-05-27 20:39:43 +00:00
Jacques Le Roux 44cd36bace A patch from Martin Becker "Missing BIRT libs in eclipse .classpath file" https://issues.apache.org/jira/browse/OFBIZ-6317
Because of missing JARs from the specialpurpose component birt in the eclipse .classpath file OFBiz could not be startet within eclipse without errors (NoClassDefFoundError while starting birt component).
With "starting within eclipse" I mean the configuration with hot code replacement like this: https://cwiki.apache.org/confluence/display/OFBIZ/Running+and+Debugging+OFBiz+in+Eclipse#RunningandDebuggingOFBizinEclipse-debuggingInEclipseHotClasses
I provide a patch for the .classpath file with 4 added libs from the specialpurpose/birt/lib folder.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1681848 13f79535-47bb-0310-9956-ffa450edef68
2015-05-26 20:26:41 +00:00
Nicolas Malin 015f3bb895 revert bad replace did at r1681125
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1681235 13f79535-47bb-0310-9956-ffa450edef68
2015-05-22 21:05:44 +00:00
Nicolas Malin 32b95bc9ab No functionnal change, correct debug log origin. Replace null string by module to display the class and log file and found where the log came from
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1681125 13f79535-47bb-0310-9956-ffa450edef68
2015-05-22 14:18:39 +00:00
Jacques Le Roux 6c637a7b7d Implements "The lookup and text-area have a read-only attribute but not the text input field" at https://issues.apache.org/jira/browse/OFBIZ-6395
Adds a read-only attribute to the text input field. Using the display type is not enough, because it's uneasy to assign values through Javascript as using the lookup description-field-name shows OOTB. And the disabled option is not good when you want to still show the submitted values on return.

Also 
* improves widget-form.xsd documentation about read-only attribute for lookup
* completes the foFormMacroLibrary.ftl where placeholder tabindex  were missing (if this even ever makes sense)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1680921 13f79535-47bb-0310-9956-ffa450edef68
2015-05-21 16:29:49 +00:00
Jacques Le Roux 55f5564611 A better patch from Adrian for "Field Lookup do not show description when widget-verbose is set to false" https://issues.apache.org/jira/browse/OFBIZ-6396
When widget verbose is set to false and using field lookup, the description of the selected object is not displayed (not using auto completion but the popup).
To reproduce : Set widget.verbose=false in framework/widget/config/widget.properties  
Clear OFBiz cache then go to : https://localhost:8443/partymgr/control/EditPartyRelationships?partyId=Company
In the partyRelationship creation form, in party Id From field, click on lookup, search, select AUTHOR_MADMAX, and so no description displayed. Using autocompletion it's fine.

jleroux: This reverts the previous patch from Gil. It did not occur to me that all the rest of the result was only commented out HTML code, so a simple trim was enough. Happy to get rid of this ugly kludge



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1680881 13f79535-47bb-0310-9956-ffa450edef68
2015-05-21 14:18:16 +00:00
Jacques Le Roux 4e2ddf8f0a A patch from Gil Portenseigne for "Field Lookup do not show description when widget-verbose is set to false" https://issues.apache.org/jira/browse/OFBIZ-6396
When widget verbose is set to false and using field lookup, the description of the selected object is not displayed (not using auto completion but the popup).
To reproduce : Set widget.verbose=false in framework/widget/config/widget.properties  
Clear OFBiz cache then go to : https://localhost:8443/partymgr/control/EditPartyRelationships?partyId=Company
In the partyRelationship creation form, in party Id From field, click on lookup, search, select AUTHOR_MADMAX, and so no description displayed. Using autocompletion it's fine.

This patch use a trick to no care about widgetVerbose comments. Sad to use this kind of trick, but if not, spaces might not be trimed. With that, the display is perfect. No side effect detected. 

jleroux: I still regret Hans past attitude about widgetVerbose which initially forced me to this hack 



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1680873 13f79535-47bb-0310-9956-ffa450edef68
2015-05-21 13:45:02 +00:00