Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

Translation

...

Have a look at framework/appserver/README file. You might be also interested by Run OFBiz under outside Application Servers (WASCE 2.0.0.1, Geronimo 2.0.3, Tomcat 5.5 and 6, JBoss 4.2.2)

Anchor
createAcctgTransAndEntries
createAcctgTransAndEntries

...

(For instance we are extending the Marketing component.)

  1. Inside webapp of your customize application create the following folders for the component you want to extend, using it's component name. (marketing/WEB-INF)
  2. Create an empty controller.xml file in this new WEB-INF folder.
  3. In controller.xml file include the <include location="component://marketing/webapp/marketing/WEB-INF/controller.xml"/>
  4. Copy the web.xml from the component you want to extends WEB-INF folder into this new WEB-INF folder.
  5. In you custom component's ofbiz-component.xml (hot-deploy/customize_project/) add following code:

    Code Block
    languagexml
    titleextending marketing component here
    <webapp name="marketing" title="Marketing-Customized" server="default-server" location="webapp/marketing" base-permission="OFBTOOLS,MARKETING" mount-point="/marketing"/>

The basic setup for extend the component is completed.  You can add your custom component specific request and view in controller.xml.  You can add other items such as SECAs in secas.xml and have them triggered on services in the component you want to extend. You can also create screens in the extended component.

...

You will need to use the Java keytool utility to add certificates from other SSL sites (e.g. www.mywebsite.com) . Here is a pretty good tutorial on getting your SSL certificate setup

The basic steps are described here

Getting an SSL Certificate

...