From 3c41c2e3fb730c5c9e559397d2911a422f522fb1 Mon Sep 17 00:00:00 2001 From: Jacques Le Roux Date: Sun, 15 Jul 2012 08:57:57 +0000 Subject: [PATCH] A (slightly modified) patch from Tom Burns for "Example Application Issues" https://issues.apache.org/jira/browse/OFBIZ-4960 Problem path 1: Find Example > Find Example Select EX01 Click Items Tab (or Features) Click Example Tab Expected: Example Details form in the context of the Example menus Actual: New Example Form under Example Application menus Problem path 2: Example > click New Example Enter a new example Expected: Example Details form to add Items and Features to the New Example Actual: Example page filtered on newly created example (this is a problem for a new user who will not know how to clear the Example Id from the Search Options form. A better path would be to go to the edit forms where the user can add additional information on the example i.e. Items and Features) Problem path 3: Features > New Example Features Enter a Description > Click Create Enter a Type and Sequence Num Click Add Expected: Create a new Example Feature Appl Actual: Error Problem 3: Error missing exampleFeatureId jleroux: just put comments about checks Tom wanted to remove: git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1361662 13f79535-47bb-0310-9956-ffa450edef68 --- specialpurpose/example/config/ExampleUiLabels.xml | 6 ++++++ .../example/webapp/example/WEB-INF/controller.xml | 4 ++-- .../example/widget/example/CommonScreens.xml | 8 ++++---- .../example/widget/example/ExampleFeatureForms.xml | 11 +++++++++-- .../example/widget/example/ExampleFeatureScreens.xml | 12 +++++++++--- .../example/widget/example/ExampleMenus.xml | 4 +++- .../exampleext/widget/example/CommonScreens.xml | 4 ++-- 7 files changed, 35 insertions(+), 14 deletions(-) diff --git a/specialpurpose/example/config/ExampleUiLabels.xml b/specialpurpose/example/config/ExampleUiLabels.xml index 3c04231564..e3af085f55 100644 --- a/specialpurpose/example/config/ExampleUiLabels.xml +++ b/specialpurpose/example/config/ExampleUiLabels.xml @@ -428,6 +428,12 @@ ลักษณะ 特征 + + Add Feature To Example + + + Features by Example + Field Campo diff --git a/specialpurpose/example/webapp/example/WEB-INF/controller.xml b/specialpurpose/example/webapp/example/WEB-INF/controller.xml index 587e35e824..35622b2711 100644 --- a/specialpurpose/example/webapp/example/WEB-INF/controller.xml +++ b/specialpurpose/example/webapp/example/WEB-INF/controller.xml @@ -59,7 +59,7 @@ under the License. - + @@ -152,7 +152,7 @@ under the License. - + diff --git a/specialpurpose/example/widget/example/CommonScreens.xml b/specialpurpose/example/widget/example/CommonScreens.xml index 8d652df3d0..6dcba08b4d 100644 --- a/specialpurpose/example/widget/example/CommonScreens.xml +++ b/specialpurpose/example/widget/example/CommonScreens.xml @@ -70,7 +70,7 @@ under the License. - + @@ -87,7 +87,7 @@ under the License.
- + @@ -139,7 +139,7 @@ under the License. - + @@ -156,7 +156,7 @@ under the License.
- + diff --git a/specialpurpose/example/widget/example/ExampleFeatureForms.xml b/specialpurpose/example/widget/example/ExampleFeatureForms.xml index 85b081a9e7..179650d9df 100644 --- a/specialpurpose/example/widget/example/ExampleFeatureForms.xml +++ b/specialpurpose/example/widget/example/ExampleFeatureForms.xml @@ -75,7 +75,7 @@ under the License.
- + @@ -106,6 +106,7 @@ under the License.
+
@@ -115,7 +116,13 @@ under the License. - + + + + + + + diff --git a/specialpurpose/example/widget/example/ExampleFeatureScreens.xml b/specialpurpose/example/widget/example/ExampleFeatureScreens.xml index 19d98cad74..2a75172d61 100644 --- a/specialpurpose/example/widget/example/ExampleFeatureScreens.xml +++ b/specialpurpose/example/widget/example/ExampleFeatureScreens.xml @@ -70,7 +70,9 @@ under the License. - + + + @@ -87,8 +89,12 @@ under the License. - - + + + + + + diff --git a/specialpurpose/example/widget/example/ExampleMenus.xml b/specialpurpose/example/widget/example/ExampleMenus.xml index 3d7fe8eb13..a55d4f9281 100644 --- a/specialpurpose/example/widget/example/ExampleMenus.xml +++ b/specialpurpose/example/widget/example/ExampleMenus.xml @@ -46,7 +46,9 @@ under the License. - + + + diff --git a/specialpurpose/exampleext/widget/example/CommonScreens.xml b/specialpurpose/exampleext/widget/example/CommonScreens.xml index 047dbe6826..3701b0f35d 100644 --- a/specialpurpose/exampleext/widget/example/CommonScreens.xml +++ b/specialpurpose/exampleext/widget/example/CommonScreens.xml @@ -46,7 +46,7 @@ under the License. - + @@ -63,7 +63,7 @@ under the License.
- +