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
72 lines
4.8 KiB
XML
72 lines
4.8 KiB
XML
<?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.
|
|
-->
|
|
|
|
<ofbiz-component name="content"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-component.xsd">
|
|
<resource-loader name="main" type="component"/>
|
|
<classpath type="dir" location="config"/>
|
|
<classpath type="dir" location="dtd"/>
|
|
<classpath type="jar" location="lib/*"/>
|
|
<classpath type="jar" location="lib/uno/*"/>
|
|
<classpath type="jar" location="build/lib/*"/>
|
|
<entity-resource type="model" reader-name="main" loader="main" location="entitydef/entitymodel.xml"/>
|
|
<entity-resource type="data" reader-name="seed" loader="main" location="data/ContentTypeData.xml"/>
|
|
<entity-resource type="data" reader-name="seed" loader="main" location="data/ContentOperationData.xml"/>
|
|
<entity-resource type="data" reader-name="seed" loader="main" location="data/MimeTypeData.xml"/>
|
|
<entity-resource type="data" reader-name="seed" loader="main" location="data/MimeTypeTemplate.xml"/>
|
|
<entity-resource type="data" reader-name="seed" loader="main" location="data/DataCategoryData.xml"/>
|
|
<entity-resource type="data" reader-name="seed" loader="main" location="data/SeedBlogData.xml"/>
|
|
<entity-resource type="data" reader-name="seed" loader="main" location="data/TemplateData.xml"/>
|
|
<entity-resource type="data" reader-name="seed" loader="main" location="data/ContentSecurityData.xml"/>
|
|
<entity-resource type="data" reader-name="seed" loader="main" location="data/MiscData.xml"/>
|
|
<entity-resource type="data" reader-name="seed" loader="main" location="data/ContentHelpData.xml"/>
|
|
<entity-resource type="data" reader-name="seed" loader="main" location="data/ContentHttpErrorData.xml"/>
|
|
<!-- these files cannot be loaded in their original component because they are earlier than the content component -->
|
|
<entity-resource type="data" reader-name="seed" loader="main" location="data/PartyHelpData.xml"/>
|
|
<entity-resource type="data" reader-name="seed" loader="main" location="data/WebtoolsHelpData.xml"/>
|
|
<entity-resource type="data" reader-name="seed" loader="main" location="data/ExampleHelpData.xml"/>
|
|
|
|
<entity-resource type="data" reader-name="demo" loader="main" location="data/UsersDemoData.xml"/>
|
|
<entity-resource type="data" reader-name="demo" loader="main" location="data/DemoBlogPubPtData.xml"/>
|
|
<entity-resource type="data" reader-name="demo" loader="main" location="data/DemoBlogUsersData.xml"/>
|
|
<entity-resource type="data" reader-name="demo" loader="main" location="data/DemoBlogMiscData.xml"/>
|
|
<entity-resource type="data" reader-name="demo" loader="main" location="data/DemoBlogEntryData.xml"/>
|
|
<entity-resource type="data" reader-name="demo" loader="main" location="data/WebSitePublishPointData.xml"/>
|
|
<entity-resource type="data" reader-name="demo" loader="main" location="data/CompDocData.xml"/>
|
|
<entity-resource type="data" reader-name="demo" loader="main" location="data/ForumDemoData.xml"/>
|
|
<service-resource type="model" loader="main" location="servicedef/services.xml"/>
|
|
<service-resource type="model" loader="main" location="servicedef/services_content.xml"/>
|
|
<service-resource type="model" loader="main" location="servicedef/services_contenttypes.xml"/>
|
|
<service-resource type="model" loader="main" location="servicedef/services_data.xml"/>
|
|
<service-resource type="model" loader="main" location="servicedef/services_output.xml"/>
|
|
<service-resource type="model" loader="main" location="servicedef/services_survey.xml"/>
|
|
<service-resource type="model" loader="main" location="servicedef/services_commevent.xml"/>
|
|
<service-resource type="model" loader="main" location="servicedef/services_website.xml"/>
|
|
<service-resource type="eca" loader="main" location="servicedef/secas.xml"/>
|
|
<service-resource type="mca" loader="main" location="servicedef/mca.xml"/>
|
|
<webapp name="content"
|
|
title="Content"
|
|
server="default-server"
|
|
location="webapp/content"
|
|
base-permission="CONTENTMGR"
|
|
mount-point="/content"/>
|
|
</ofbiz-component>
|