Improved: Have configuration options for Content (OFBIZ-6670) The configuration of an OFBiz is determined by 2 aspects: configuration settings required to successfully start the implementation configuration settings required to have component functions work properly The latter involve default choices for various functions to cater to the usability of business processes (and therefore screen/forms and/or screens/templates. Several of these configuration settings are already loaded into the SystemProperty table in the underlying RDBMS, to enable adjustments of the systemPropertyValue while the implementation is in use. While it is not expected that these settings change often, it is possible that they are required to be changed during the lifespan of the company/organisation. However, it should not be required to go through a deployment process of regarding such changed configuration settings in the OFBiz production instance (which most - if not all - companies/organisations require when files are changes). Having all configuration settings of components in the SystemProperty table enhances the usability of OFBiz allowing system administrators to adjust the value(s) of system property records while the instance keeps running. added: SystemProperty records in ContentSystemPropertyData.xml Modified: ofbiz-component.xml: reference of ContentSystemPropertyData.xml to load at seed loading moment added: missing SystemProperty records in ContentSystemPropertyData.xml Thanks to Jacques for the review
65 lines
3.2 KiB
XML
65 lines
3.2 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="https://ofbiz.apache.org/dtds/ofbiz-component.xsd">
|
|
<resource-loader name="main" type="component"/>
|
|
<classpath type="dir" location="config"/>
|
|
|
|
<entity-resource type="eca" reader-name="main" loader="main" location="entitydef/eecas.xml"/>
|
|
|
|
<entity-resource type="data" reader-name="seed" loader="main" location="data/ContentDocData.xml"/>
|
|
<entity-resource type="data" reader-name="seed" loader="main" location="data/ContentHttpErrorData.xml"/>
|
|
<entity-resource type="data" reader-name="seed" loader="main" location="data/ContentPortletData.xml"/>
|
|
<entity-resource type="data" reader-name="seed" loader="main" location="data/ContentSystemPropertyData.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_document.xml"/>
|
|
<service-resource type="model" loader="main" location="servicedef/services_ftp.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"/>
|
|
|
|
<test-suite loader="main" location="testdef/ContentTests.xml"/>
|
|
|
|
<webapp name="content"
|
|
title="Content"
|
|
position="6"
|
|
server="default-server"
|
|
location="webapp/content"
|
|
base-permission="OFBTOOLS,CONTENTMGR"
|
|
app-shortcut-screen="component://content/widget/CommonScreens.xml#ShortcutApp"
|
|
mount-point="/content"/>
|
|
|
|
<webapp name="contentimages"
|
|
title="Content Images"
|
|
server="default-server"
|
|
location="webapp/contentimages"
|
|
mount-point="/contentimages/"
|
|
app-bar-display="false"/>
|
|
|
|
</ofbiz-component>
|