A patch from Erwan de FERRIERES "help link in example is not working" (https://issues.apache.org/jira/browse/OFBIZ-3097) - OFBIZ-3097

when clicking the help link in the example app, the showHelp request is not recognised.
-> added a request in the example controller
-> created the ExampleHelpData file
-> added the needed line to load the data in the Example ofbiz-component file.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@832368 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jacques Le Roux
2009-11-03 09:58:06 +00:00
parent 79c7a4fe25
commit 6e61b5e801
3 changed files with 8 additions and 0 deletions
@@ -201,6 +201,11 @@ under the License.
<security https="true" auth="true"/>
<response name="success" type="view" value="printExampleFOPFonts"/>
</request-map>
<request-map uri="showHelp">
<security https="true" auth="true"/>
<response name="success" type="view" value="showHelp"/>
</request-map>
<!-- end of request mappings -->
<!-- View Mappings -->
@@ -226,5 +231,6 @@ under the License.
<view-map name="ListExampleFormOnly" type="screen" page="component://example/widget/example/ExampleAjaxScreens.xml#ListExampleFormOnly"/>
<view-map name="CreateExampleFormOnly" type="screen" page="component://example/widget/example/ExampleAjaxScreens.xml#CreateExampleFormOnly"/>
<view-map name="printExampleFOPFonts" type="screenfop" page="component://example/widget/example/FormWidgetExampleScreens.xml#printExampleFOPFonts" content-type="application/pdf" encoding="none"/>
<view-map name="ShowDocument" type="screen" page="component://commonext/widget/HelpScreens.xml#showDocument"/>
<!-- end of view mappings -->
</site-conf>