Nicolas Malin
07fdc51217
correct compilation error, missing delegatorBaseName parameter for function GenericDelegator.getEntityNamesByGroup. Issue OFBIZ-6533, thanks Wei Zhang for this alert
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1687679 13f79535-47bb-0310-9956-ffa450edef68
2015-06-26 07:04:55 +00:00
Jacques Le Roux
a41d4ac771
OFBIZ-6532 - Adding a new entity-group but no corresponding delegator/group-map is hard to debug
...
Adds an error message in log just before crash, so it's easy to debug
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1687589 13f79535-47bb-0310-9956-ffa450edef68
2015-06-25 17:24:55 +00:00
Deepak Dixit
43ed056525
OFBIZ-6530: Removed async=false from lookupDescriptionLoaded , getJSONuiLabels and getJSONuiLabel js method.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1687427 13f79535-47bb-0310-9956-ffa450edef68
2015-06-25 08:13:32 +00:00
Adrian Crum
4fc6618abe
Removed DCL code from TreeFactory.java, small code cleanup.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1687348 13f79535-47bb-0310-9956-ffa450edef68
2015-06-24 19:18:16 +00:00
Jacques Le Roux
b0ba66e6d7
Fixes a typo
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1687299 13f79535-47bb-0310-9956-ffa450edef68
2015-06-24 14:37:03 +00:00
Jacques Le Roux
4d2a942aa4
A patch from Gil Portenseigne for "Add a mean to untie geo associations" https://issues.apache.org/jira/browse/OFBIZ-6528
...
In the Webtools we can asociate Geos but we have yet no means to untie them
This patch adds a new grid in EditGeoScreen to see/delete GeoAssoc and CommonEntityLabels default-resource-name on GeoAssocType for translation purpose.
jleroux: On Pierre's Smits suggestion Gil also added a clickable link to open the associated Geo and a column to show the geoTypeId of the associated Geo.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1687259 13f79535-47bb-0310-9956-ffa450edef68
2015-06-24 13:10:00 +00:00
Adrian Crum
73e5b3af04
JavaDoc fixes, no functional change.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1687141 13f79535-47bb-0310-9956-ffa450edef68
2015-06-23 22:02:33 +00:00
Adrian Crum
6bd65c4b2f
Fixed some C&P errors in ModelFieldVisitor.java. No functional change.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1687093 13f79535-47bb-0310-9956-ffa450edef68
2015-06-23 16:46:06 +00:00
Shi Jinghai
85bed69778
Refs #6518 .
...
Translated new labels in trunk version into zh locale (Simplified Chinese).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686778 13f79535-47bb-0310-9956-ffa450edef68
2015-06-22 07:10:41 +00:00
Nicolas Malin
895c9856b3
Cleaning forms code is needed after setting default-value in list-options and entity-options, patch related to OFBIZ-6524 and follows the resolution of OFBIZ-6490 and OFBIZ-6489. Thanks Gil Portenseigne for this effort
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686674 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 21:58:05 +00:00
Nicolas Malin
7382855c7b
Use as default on <entity-option> and <list-option> description attribute like <display-entity> element. Related issues OFBIZ-6489 and OFBIZ-6490. Thanks to Christian Carlow for this and Gil Portenseigne for the review
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686673 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 21:28:12 +00:00
Adrian Crum
e2f875de2d
Restored the 'request-confirmation' and 'confirmation-message' menu item attributes that were removed in the recent widget refactoring - https://issues.apache.org/jira/browse/OFBIZ-6334 .
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686666 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 19:41:05 +00:00
Adrian Crum
220270f628
Move theme-specific js & css references from CommonDecorator(s) to themes - https://issues.apache.org/jira/browse/OFBIZ-6362 .
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686655 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 17:02:22 +00:00
Nicolas Malin
bdce756456
use better french translation CommonApply -> Appliquer
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686622 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 13:53:49 +00:00
Nicolas Malin
e424ded590
Replace FTL at webtools/control/entitymaint with widgets. Remove multi column and convert links as include-menu. By default the entityName is link on Find and receive the anchor. This patch is related to OFBIZ-6402, thanks Christian Carlow for this issue.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686621 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 13:50:13 +00:00
Arun Patidar
3f36969de4
[OFBIZ-6237] Applied patch from the task. Fixed the issue of deleting existing GeoAssocs records while addind new GeoAssocs. Thanks Himanil Gupta for your contribution.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686616 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 13:28:30 +00:00
Nicolas Malin
6aab83641f
error in parsing array in ajaxUpdateAreas, use a regexp tp split all parameters separate by comma and support this string a,{b,c,d},e as three parameters and not five. Patch related to OFBIZ-6496. Thanks Pierre Gaudin for this issue.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686593 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 12:13:13 +00:00
Michael Brohl
8568760a60
Applied changes for OFBIZ-6300: Compiler-Error with JDK 1.8 and source compatibility 1.8.
...
This reintroduces type safety for getFieldentryIterator.
Thanks Martin Becker for providing the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686570 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 11:43:30 +00:00
Nicolas Malin
484124f581
Improve widget-form with four elements : include-form, include-grid, include-menu, include-screen to offert more flexibility to define complex display. The main purpose is to complete the screen widget capacity to replace ftl screen.
...
With these elements, example component have a new FindExample search screen to select the display list type with a example of :
* include-form : list examples with their features
* include-screen : list examples with their items
* include-grid : list examples with their status history
The element include-menu is present on FindUtilCache screen. Also a new CommonInlineBarMenu menu type to display menu with specific purpose (in-line) is now present and with this logic adding in-line-bar css class on themes thomawak and flatgrey.
This patch is combinate Issues :
* OFBIZ-6502 Add support for form/grid embedding within grids
* OFBIZ-6501 Add support for screen embedding inside grids
* OFBIZ-6404 Allow form/grid widget hyperlinks to be grouped into a single column
sub-tasks of master issue OFBIZ-6314 Widget Refactoring - Placeholder issue
Thanks to Christian and Adrian for their time
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686116 13f79535-47bb-0310-9956-ffa450edef68
2015-06-17 21:50:27 +00:00
Nicolas Malin
34f0f48f08
correct renderLink macro on foScreenMacroLibrary.ftl to avoid a freemarker stacktrace, related to OFBIZ-6461
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1685176 13f79535-47bb-0310-9956-ffa450edef68
2015-06-12 21:28:11 +00:00
Nicolas Malin
c6e5d7e695
fix previous commit : tika has been commented, isn't needed
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1685133 13f79535-47bb-0310-9956-ffa450edef68
2015-06-12 16:52:28 +00:00
Nicolas Malin
68522eb09b
Second pass due to local problem :/ . Resynchronise template macro form xml, text, csv and fo from html related to issue OFBIZ-6461.
...
adding unit test that call webtools/control/WebtoolsLayoutDemo with html, text, csv, xml and fop render and detect on the stream if an FTl stacktrace is present.
The fop test is currently commented because the screenfop failed to generate WebtoolsLayoutDemo page.
To support the unit case, the screen engine has been extend to manage platform-specific : <text> and <csv>
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1685132 13f79535-47bb-0310-9956-ffa450edef68
2015-06-12 16:48:55 +00:00
Nicolas Malin
ae1af54128
revert previous commit, bad repo use my apologies
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1685130 13f79535-47bb-0310-9956-ffa450edef68
2015-06-12 16:46:08 +00:00
Nicolas Malin
d3e95bb938
Resynchronise template macro form xml, text, csv and fo from html related to issue OFBIZ-6461.
...
adding unit test that call webtools/control/WebtoolsLayoutDemo with html, text, csv, xml and fop render and detect on the stream if an FTl stacktrace is present.
The fop test is currently commented because the screenfop failed to generate WebtoolsLayoutDemo page.
To support the unit case, the screen engine has been extend to manage platform-specific : <text> and <csv>
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1685124 13f79535-47bb-0310-9956-ffa450edef68
2015-06-12 16:25:30 +00:00
Jacopo Cappellato
eb6d01b066
New implementation of the two-way cryptographic services of OFBiz based on Apache Shiro:
...
* two-way encryption is now delegated to Apache Shiro, with stronger initialization vectors
* the mechanism is backward compatible
* new tools to update the encryption of private keys, useful to upgrade older versions of OFBiz and most of all to replace old keys with new ones (this is critical to implement stronger security practices as requested by PCI)
* unit tests
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1684608 13f79535-47bb-0310-9956-ffa450edef68
2015-06-10 09:01:30 +00:00
Christian Carlow
aece17ee2f
Adding support for styles for foFormMacroLibrary.ftl renderFormatListWrapperOpen
...
https://issues.apache.org/jira/browse/OFBIZ-6483
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1684232 13f79535-47bb-0310-9956-ffa450edef68
2015-06-08 17:56:47 +00:00
Adrian Crum
ed1d93be59
Revert rev 1684133 and fix the compiler error properly.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1684217 13f79535-47bb-0310-9956-ffa450edef68
2015-06-08 16:14:45 +00:00
Adrian Crum
a73c51bb49
Fix a thread-safety issue. Trivial unit test changes.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1684216 13f79535-47bb-0310-9956-ffa450edef68
2015-06-08 16:12:30 +00:00
Christian Carlow
78b42f0763
Adding support for foFormMacroLibrary.ftl renderFormOpen styles
...
https://issues.apache.org/jira/browse/OFBIZ-6481
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1684176 13f79535-47bb-0310-9956-ffa450edef68
2015-06-08 13:19:55 +00:00
Christian Carlow
e4b2284e49
Adding support for foFormMacroLibrary.ftl renderFieldTitle style parameter.
...
https://issues.apache.org/jira/browse/OFBIZ-6479
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1684142 13f79535-47bb-0310-9956-ffa450edef68
2015-06-08 10:52:06 +00:00
Jacques Le Roux
08e14fc292
A patch from Taher Alkhateeb "Upgrade OFBiz to Java JDK 8" https://issues.apache.org/jira/browse/OFBIZ-6458
...
2nd step: allows Eclipse EJC to compile, fixes a problem with compilation error in eclipse only, it works okay in javac but not in Eclipse EJC
jleroux: this introduces a small "regression" in the code syntax but to allow users to compile with Eclipse EJC.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1684133 13f79535-47bb-0310-9956-ffa450edef68
2015-06-08 09:58:50 +00:00
Jacques Le Roux
b863051dfd
Implements "Geo Data Set for Chile" https://issues.apache.org/jira/browse/OFBIZ-6476
...
Follow discussion on user ML.
I did not see Pierre Smits's patch at OFBIZ-6476, so I committed the date Peter provided, plus the Chile CountryAddressFormat I added
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1684105 13f79535-47bb-0310-9956-ffa450edef68
2015-06-08 07:39:39 +00:00
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
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
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
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
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
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
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