diff --git a/applications/content/data/ExampleHelpData.xml b/applications/content/data/ExampleHelpData.xml index 1e603d202f..fddd0b40ff 100644 --- a/applications/content/data/ExampleHelpData.xml +++ b/applications/content/data/ExampleHelpData.xml @@ -25,10 +25,17 @@ dataResourceId="HELP_EXAMPLE" statusId="CTNT_IN_PROGRESS" mimeTypeId="text/html"/> + + + + - + + diff --git a/framework/example/data/helpdata/HELP_EXAMPLE.xml b/framework/example/data/helpdata/HELP_EXAMPLE.xml index 9600e4bceb..ae4fb9017e 100644 --- a/framework/example/data/helpdata/HELP_EXAMPLE.xml +++ b/framework/example/data/helpdata/HELP_EXAMPLE.xml @@ -17,8 +17,39 @@ License. version="5.0" xmlns:xl="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude" xsi:schemaLocation="http://docbook.org/ns/docbook ../../../../applications/content/dtd/docbook.xsd" xmlns="http://docbook.org/ns/docbook"> - The Example Main Help page. - - The Example application will allow you to discover the possibilities to create an application, with a lot of search boxes, lists and many more. + The Example Main Help page. + + The Example application will allow you to discover the possibilities to create an application, with a lot of search boxes, lists and many more. + This application could be used to have an example of the bests practices in user interface development in Apache - OFBiz. + Look help for each example screen, help will explain which part of development is used in this case. + For example, if you want to see how you should do to add some help you can look to help files in data/helpdata directory in example + component and data/ExempleHelpData.xml in content component. + +
+ Help file organization + Help is managed by using content component functionality. + Help can be for : + + one component or sub-component, access is possible by navigation in help index tree and select it, contentId is associated to + HELP_ROOT with contentAssocTypeId="TREE_CHILD" ; + one screen, access is done by help icon in screen (most of time on top), contentId is search on ContentAssoc.mapKey with + a value (helpTopic) build with component webSite and uri used to show this screen ; + one portlet, access is done by a link on the portalPages (which contain this portlet) help, link is a showHelp (like + for a screen) with helpTopic build with "HELP_" and portletId + one portal page, access is done by help icon if parameters.portalPageId is not empty, contentId is read on PortalPage + (or originalPortalPage if exist) and is show on top of portlet list contain on it. + +
+ +
+ Development help sub-subject + To have the complete list you should click on index button and look to example tree option, but here is a list of + main shortcut : + + How is organize The Apache OFBiz documentation system + What it's possible to do in help file + + +
diff --git a/framework/example/data/helpdata/HELP_EXAMPLE_FR.xml b/framework/example/data/helpdata/HELP_EXAMPLE_FR.xml new file mode 100644 index 0000000000..b255bd5cb6 --- /dev/null +++ b/framework/example/data/helpdata/HELP_EXAMPLE_FR.xml @@ -0,0 +1,43 @@ + + +
+ Page principale de l'aide du composant Exemple + + L'application exemple vous permet de découvrir les possibilités pour créer une application contenant, entre autres, des + boîtes de recherche, des listes et beaucoup d'autres choses. + + + Cette application peut être utilisée pour avoir un aperçu des bonnes pratiques d'interface utilisateur pour OFBiz. + + Par exemple, si vous voulez voir comment vous pouvez ajouter des textes d'aide, vous pouvez regarder les fichiers contenus dans le + répertoire data/heldata dans le composant Example et dans le fichier contenu dans data/ExempleHelpData.xml au niveau de l'application + content + + +
+ Sous-menus dans l'aide + + Pour avoir la liste complète, cliquez sur le bouton "Index" et regardez l'arborescence de l'aide. Voici aussi une liste + de raccourcis : + + Ce qu'il est possible de faire dans les fichiers d'aide + + +
+
diff --git a/framework/example/data/helpdata/HELP_EXAMPLE_main.xml b/framework/example/data/helpdata/HELP_EXAMPLE_main.xml index 806796b2ce..a421dfc033 100644 --- a/framework/example/data/helpdata/HELP_EXAMPLE_main.xml +++ b/framework/example/data/helpdata/HELP_EXAMPLE_main.xml @@ -18,7 +18,8 @@ License. xsi:schemaLocation="http://docbook.org/ns/docbook ../../../../applications/content/dtd/docbook.xsd" xmlns="http://docbook.org/ns/docbook"> The Example Main page. + About the Example application In this page, you can create or search an example - \ No newline at end of file +