Moving example* applications to specialpurpose OFBIZ-4790

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1328503 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Erwan de Ferrieres
2012-04-20 21:11:02 +00:00
parent d61213727c
commit 52e25d2ed3
83 changed files with 13773 additions and 1 deletions
+55
View File
@@ -0,0 +1,55 @@
<?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>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>
+44
View File
@@ -0,0 +1,44 @@
<?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>Comment fonctionne <link xl:href="showHelp?helpTopic=DOCUMENTATION_SYSTEM">le système de documentation d'Apache OFBiz</link></para></listitem>
<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>
@@ -0,0 +1,72 @@
<?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>Help on writing docBook documents</title>
<section>
<title>Example of an ordered list</title>
<para>The orderedlist will put numbers in front of each item.</para>
<orderedlist>
<listitem><para>First item of my list</para></listitem>
<listitem><para>Second item</para></listitem>
<listitem><para>Third...</para></listitem>
<listitem><para>4th...</para></listitem>
<listitem><para>and this can go longer...</para></listitem>
</orderedlist>
</section>
<section>
<title>Example of an itemized list</title>
<para>The itemizedlist will put a bullet in front of each item.</para>
<itemizedlist>
<listitem><para>First item of my list</para></listitem>
<listitem><para>Second item</para></listitem>
<listitem><para>Third...</para></listitem>
<listitem><para>4th...</para></listitem>
<listitem><para>and this can go longer...</para></listitem>
</itemizedlist>
</section>
<section>
<title>Examples of text formatting</title>
<caution>
<title>Caution title</title>
<para>Here is a caution text</para>
</caution>
<important>
<title>Important title</title>
<para>Here is an important text</para>
</important>
<note>
<title>Note title</title>
<para>Here is a note</para>
</note>
<tip>
<title>Tip title</title>
<para>Here is a tip</para>
</tip>
<warning>
<para>Here is a warning</para>
</warning>
</section>
</section>
@@ -0,0 +1,25 @@
<?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>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>