ant create-component You will be prompted for: 1) component name (e.g. "test") 2) component resource name (e.g. "Test") 3) webapp name (e.g. "testapp") 4) base permission (e.g. "TEST") and the target will create the component in the hot-deploy folder. Restart ofbiz and the new application will be up and running. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@741605 13f79535-47bb-0310-9956-ffa450edef68
32 lines
1.4 KiB
XML
32 lines
1.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<site-conf xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/site-conf.xsd">
|
|
<!-- The controller elements that are common to all OFBiz components
|
|
can be found in the following xml file. A component can override the
|
|
elements found in the common-controller.xml file. -->
|
|
<include location="component://common/webcommon/WEB-INF/common-controller.xml"/>
|
|
|
|
<description>@component-resource-name@ Component Site Configuration File</description>
|
|
<owner></owner>
|
|
|
|
|
|
<!-- Events to run on every request before security (chains exempt) -->
|
|
<!--
|
|
<preprocessor>
|
|
</preprocessor>
|
|
-->
|
|
<!-- Events to run on every request after all other processing (chains exempt) -->
|
|
<!--
|
|
<postprocessor>
|
|
<event type="java" path="org.ofbiz.webapp.event.TestEvent" invoke="test"/>
|
|
</postprocessor>
|
|
-->
|
|
|
|
<!-- Request Mappings -->
|
|
<request-map uri="main"><security https="true" auth="true"/><response name="success" type="view" value="main"/></request-map>
|
|
<request-map uri="authview"><security https="true" auth="true"/><response name="success" type="view" value="main"/></request-map>
|
|
|
|
<!-- View Mappings -->
|
|
<view-map name="main" type="screen" page="component://@component-name@/widget/@component-resource-name@Screens.xml#main"/>
|
|
</site-conf>
|