From 4d2a942aa4faa39f200b1372ce7f287c240a759e Mon Sep 17 00:00:00 2001 From: Jacques Le Roux Date: Wed, 24 Jun 2015 13:10:00 +0000 Subject: [PATCH] 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 --- .../common/config/CommonEntityLabels.xml | 20 +++++++++++++ framework/common/entitydef/entitymodel.xml | 2 +- framework/common/servicedef/services.xml | 5 ++++ .../webtools/config/WebtoolsUiLabels.xml | 4 +++ .../webapp/webtools/WEB-INF/controller.xml | 6 ++++ .../webtools/widget/GeoManagementForms.xml | 30 ++++++++++++++++++- .../webtools/widget/GeoManagementScreens.xml | 3 ++ 7 files changed, 68 insertions(+), 2 deletions(-) diff --git a/framework/common/config/CommonEntityLabels.xml b/framework/common/config/CommonEntityLabels.xml index 8dc0fb9ade..6062393aa3 100644 --- a/framework/common/config/CommonEntityLabels.xml +++ b/framework/common/config/CommonEntityLabels.xml @@ -5885,6 +5885,26 @@ 格鲁吉亚 格魯吉亞 + + City in a county + Ville du département + + + Administrative Main City of a County + Chef-lieu du département + + + Geo Group Member + Membre de la zone Géographique + + + Postal code associated to a GeoType + Code Postal associé au type Géographique + + + For a region of a larger Geo, i.e. states, counties, provinces... + Région d'une zone géographique plus large + غانا Ghana diff --git a/framework/common/entitydef/entitymodel.xml b/framework/common/entitydef/entitymodel.xml index 51deda9aca..9891ef2f2b 100644 --- a/framework/common/entitydef/entitymodel.xml +++ b/framework/common/entitydef/entitymodel.xml @@ -275,7 +275,7 @@ under the License. + title="Geographic Boundary Association Entity" default-resource-name="CommonEntityLabels"> diff --git a/framework/common/servicedef/services.xml b/framework/common/servicedef/services.xml index 058a2019b9..c70ccdb857 100644 --- a/framework/common/servicedef/services.xml +++ b/framework/common/servicedef/services.xml @@ -724,6 +724,11 @@ under the License. + + Delete a Geo + + + Link Geos to another Geo diff --git a/framework/webtools/config/WebtoolsUiLabels.xml b/framework/webtools/config/WebtoolsUiLabels.xml index 4ea1e2e0bd..dde7202cbe 100644 --- a/framework/webtools/config/WebtoolsUiLabels.xml +++ b/framework/webtools/config/WebtoolsUiLabels.xml @@ -2395,6 +2395,10 @@ 通用Java线程 通用JAVA執行緒 + + List GeoAssoc + Lister les relations de zone géographique + Create/Edit Geo Créer/Modifier une zone géographique diff --git a/framework/webtools/webapp/webtools/WEB-INF/controller.xml b/framework/webtools/webapp/webtools/WEB-INF/controller.xml index 215904d856..2784f5f412 100644 --- a/framework/webtools/webapp/webtools/WEB-INF/controller.xml +++ b/framework/webtools/webapp/webtools/WEB-INF/controller.xml @@ -567,6 +567,12 @@ under the License. + + + + + + diff --git a/framework/webtools/widget/GeoManagementForms.xml b/framework/webtools/widget/GeoManagementForms.xml index adefc6aa0d..9cdc3cc843 100644 --- a/framework/webtools/widget/GeoManagementForms.xml +++ b/framework/webtools/widget/GeoManagementForms.xml @@ -132,5 +132,33 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/framework/webtools/widget/GeoManagementScreens.xml b/framework/webtools/widget/GeoManagementScreens.xml index 81179b906f..f528bd9f60 100644 --- a/framework/webtools/widget/GeoManagementScreens.xml +++ b/framework/webtools/widget/GeoManagementScreens.xml @@ -90,6 +90,9 @@ + + +