More improvements on help, adding more descriptions and a French page

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1075324 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Erwan de Ferrieres
2011-02-28 13:45:02 +00:00
parent 40f52ad764
commit 791bbded63
4 changed files with 87 additions and 5 deletions
@@ -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">
<title>The Example Main Help page.</title>
<para>
The Example application will allow you to discover the possibilities to create an application, with a lot of search boxes, lists and many more.
<title>The Example Main Help page.</title>
<para>
The Example application will allow you to discover the possibilities to create an application, with a lot of search boxes, lists and many more.</para>
<para>This application could be used to have an example of the bests practices in user interface development in Apache - OFBiz.</para>
<para>Look help for each example screen, help will explain which part of development is used in this case.</para>
<para>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.</para>
<section>
<title>Help file organization</title>
<para>Help is managed by using content component functionality.</para>
<para>Help can be for :
<itemizedlist>
<listitem><para>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" ;</para></listitem>
<listitem><para>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 ;</para></listitem>
<listitem><para>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</para></listitem>
<listitem><para>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.</para></listitem>
</itemizedlist>
</para>
</section>
<section>
<title>Development help sub-subject</title>
<para>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 :
<itemizedlist>
<listitem><para>How is organize <link xl:href="showHelp?helpTopic=DOCUMENTATION_SYSTEM">The Apache OFBiz documentation system</link></para></listitem>
<listitem><para><link xl:href="showHelp?helpTopic=EXAMPLE_docbook">What it's possible to do in help file</link></para></listitem>
</itemizedlist>
</para>
</section>
</section>
@@ -0,0 +1,43 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to you under the Apache License, Version
2.0 (the "License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0 Unless required by
applicable law or agreed to in writing, software distributed under the
License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY KIND, either express or implied. See the License for
the specific language governing permissions and limitations under the
License.
-->
<section xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
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">
<title>Page principale de l'aide du composant Exemple</title>
<para>
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.
</para>
<para>
Cette application peut être utilisée pour avoir un aperçu des bonnes pratiques d'interface utilisateur pour OFBiz.</para>
<para>
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
</para>
<section>
<title>Sous-menus dans l'aide</title>
<para>
Pour avoir la liste complète, cliquez sur le bouton "Index" et regardez l'arborescence de l'aide. Voici aussi une liste
de raccourcis :
<itemizedlist>
<listitem><para><link xl:href="showHelp?helpTopic=EXAMPLE_docbook">Ce qu'il est possible de faire dans les fichiers d'aide</link></para></listitem>
</itemizedlist>
</para>
</section>
</section>
@@ -18,7 +18,8 @@ License.
xsi:schemaLocation="http://docbook.org/ns/docbook ../../../../applications/content/dtd/docbook.xsd"
xmlns="http://docbook.org/ns/docbook">
<title>The Example Main page.</title>
<para><link xl:href="showHelp?helpTopic=EXAMPLE">About the Example application</link></para>
<para>
In this page, you can create or search an example
</para>
</section>
</section>