From cd78a16fba135f325fcb86fdee0e9b0a78debc8b Mon Sep 17 00:00:00 2001 From: Erwan de Ferrieres Date: Tue, 7 Sep 2010 15:30:21 +0000 Subject: [PATCH] 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 --- .../content/config/ContentUiLabels.xml | 4 ++++ .../org/ofbiz/content/data/DataServices.xml | 23 +++++++++++++++++++ .../content/servicedef/services_data.xml | 8 +++++++ .../webapp/content/WEB-INF/controller.xml | 10 ++++++++ .../content/widget/content/ContentForms.xml | 22 ++++++++++++++++-- .../widget/content/DataResourceForms.xml | 6 +++++ .../widget/content/DataResourceScreens.xml | 17 ++++++++++++++ 7 files changed, 88 insertions(+), 2 deletions(-) diff --git a/applications/content/config/ContentUiLabels.xml b/applications/content/config/ContentUiLabels.xml index 3e601b65ea..90600452aa 100644 --- a/applications/content/config/ContentUiLabels.xml +++ b/applications/content/config/ContentUiLabels.xml @@ -3724,6 +3724,10 @@ เพิ่มแหล่งที่มาของข้อมูล 新建数据资源 + + Add DataResource From Content + Ajouter une ressource de données pour un contenu + إضافة نص مورد معلومات Tilføj dataressource tekst diff --git a/applications/content/script/org/ofbiz/content/data/DataServices.xml b/applications/content/script/org/ofbiz/content/data/DataServices.xml index abeaee467a..a4a84c9605 100644 --- a/applications/content/script/org/ofbiz/content/data/DataServices.xml +++ b/applications/content/script/org/ofbiz/content/data/DataServices.xml @@ -75,6 +75,29 @@ under the License. + + + + + + + + + + + + + + + + + + + + + + + diff --git a/applications/content/servicedef/services_data.xml b/applications/content/servicedef/services_data.xml index 4bfe363f9b..687f931a49 100644 --- a/applications/content/servicedef/services_data.xml +++ b/applications/content/servicedef/services_data.xml @@ -38,6 +38,14 @@ + + Create a DataResource and link this data to the content present + + + + + Update a DataResource diff --git a/applications/content/webapp/content/WEB-INF/controller.xml b/applications/content/webapp/content/WEB-INF/controller.xml index f3e24c2982..6777923d45 100644 --- a/applications/content/webapp/content/WEB-INF/controller.xml +++ b/applications/content/webapp/content/WEB-INF/controller.xml @@ -942,6 +942,7 @@ under the License. + @@ -962,6 +963,14 @@ under the License. + + + + + + + + @@ -1882,6 +1891,7 @@ under the License. + diff --git a/applications/content/widget/content/ContentForms.xml b/applications/content/widget/content/ContentForms.xml index 2872faae6f..5e2dc3c4bd 100644 --- a/applications/content/widget/content/ContentForms.xml +++ b/applications/content/widget/content/ContentForms.xml @@ -137,6 +137,8 @@ under the License. + + @@ -150,20 +152,36 @@ under the License. - + - + + + + + + + + + + + + + + + + + diff --git a/applications/content/widget/content/DataResourceForms.xml b/applications/content/widget/content/DataResourceForms.xml index 374de5c33c..d91a133bdd 100644 --- a/applications/content/widget/content/DataResourceForms.xml +++ b/applications/content/widget/content/DataResourceForms.xml @@ -206,6 +206,12 @@ under the License. + +
+ + +
+
diff --git a/applications/content/widget/content/DataResourceScreens.xml b/applications/content/widget/content/DataResourceScreens.xml index f050cf36a1..f91fcc5b0a 100644 --- a/applications/content/widget/content/DataResourceScreens.xml +++ b/applications/content/widget/content/DataResourceScreens.xml @@ -288,6 +288,23 @@ under the License. + +
+ + + + + + + + + + + + + +
+