From 1f1f2552c157d1bf4dd0cdf9549d56d17c72a718 Mon Sep 17 00:00:00 2001 From: Adrian Crum Date: Wed, 4 Jun 2008 21:49:38 +0000 Subject: [PATCH] A basic implementation of a help system, based on work contributed by Bruno Busco - https://issues.apache.org/jira/browse/OFBIZ-1750. There is an example of how it is used in the EditExample screen of the Example component. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@663378 13f79535-47bb-0310-9956-ffa450edef68 --- .../common/config/CommonHelpUiLabels.xml | 27 +++++++++++++++++++ framework/common/config/CommonUiLabels.xml | 3 +++ .../webcommon/WEB-INF/common-controller.xml | 7 +++++ .../common/webcommon/includes/simple.ftl | 2 +- framework/common/widget/CommonScreens.xml | 18 +++++++++++++ .../example/config/ExampleHelpUiLabels.xml | 24 +++++++++++++++++ .../webapp/example/WEB-INF/controller.xml | 1 + .../example/widget/example/ExampleMenus.xml | 3 +++ .../example/widget/example/ExampleScreens.xml | 15 ++++++++++- 9 files changed, 98 insertions(+), 2 deletions(-) create mode 100644 framework/common/config/CommonHelpUiLabels.xml create mode 100644 framework/example/config/ExampleHelpUiLabels.xml diff --git a/framework/common/config/CommonHelpUiLabels.xml b/framework/common/config/CommonHelpUiLabels.xml new file mode 100644 index 0000000000..b592d4328d --- /dev/null +++ b/framework/common/config/CommonHelpUiLabels.xml @@ -0,0 +1,27 @@ + + + + + Help topic not found. + + + Open for Business Help + + diff --git a/framework/common/config/CommonUiLabels.xml b/framework/common/config/CommonUiLabels.xml index 557dd3067b..f7089dd8a8 100644 --- a/framework/common/config/CommonUiLabels.xml +++ b/framework/common/config/CommonUiLabels.xml @@ -2584,6 +2584,9 @@ Приостановленные การควบคุม + + Help + اخفاء الحقول Felder ausblenden diff --git a/framework/common/webcommon/WEB-INF/common-controller.xml b/framework/common/webcommon/WEB-INF/common-controller.xml index 1fd0b13502..2285184da9 100644 --- a/framework/common/webcommon/WEB-INF/common-controller.xml +++ b/framework/common/webcommon/WEB-INF/common-controller.xml @@ -106,6 +106,12 @@ under the License. + + + + + + @@ -116,4 +122,5 @@ under the License. + diff --git a/framework/common/webcommon/includes/simple.ftl b/framework/common/webcommon/includes/simple.ftl index c70f755fa5..5351982e43 100644 --- a/framework/common/webcommon/includes/simple.ftl +++ b/framework/common/webcommon/includes/simple.ftl @@ -54,7 +54,7 @@ under the License. ${layoutSettings.extraHead?if_exists} - +
diff --git a/framework/common/widget/CommonScreens.xml b/framework/common/widget/CommonScreens.xml index b2e7a967a5..a7a0f27597 100644 --- a/framework/common/widget/CommonScreens.xml +++ b/framework/common/widget/CommonScreens.xml @@ -382,4 +382,22 @@ under the License. + +
+ + + + + + + + + + + + + +
+
+ diff --git a/framework/example/config/ExampleHelpUiLabels.xml b/framework/example/config/ExampleHelpUiLabels.xml new file mode 100644 index 0000000000..eddc225ce0 --- /dev/null +++ b/framework/example/config/ExampleHelpUiLabels.xml @@ -0,0 +1,24 @@ + + + + + An example of a Help screen. + + diff --git a/framework/example/webapp/example/WEB-INF/controller.xml b/framework/example/webapp/example/WEB-INF/controller.xml index 1ce8ef49c3..118cc91de3 100644 --- a/framework/example/webapp/example/WEB-INF/controller.xml +++ b/framework/example/webapp/example/WEB-INF/controller.xml @@ -175,6 +175,7 @@ under the License. + diff --git a/framework/example/widget/example/ExampleMenus.xml b/framework/example/widget/example/ExampleMenus.xml index 1fe1a3e899..20d13ca749 100644 --- a/framework/example/widget/example/ExampleMenus.xml +++ b/framework/example/widget/example/ExampleMenus.xml @@ -49,6 +49,9 @@ under the License. + + +
- @@ -125,4 +124,18 @@ under the License.
+ +
+ + + + + + + + + +
+
+