...
From a thread by Chris Howe and David Jones
Chris Howe: Lets say that I want to create an application that most closely matches the ecommerce app. I should start with copied versions the following files only.
Code Block |
---|
ofbizhome/specializedhot-deploy/myapp/build.xml ofbizhome/specializedhot-deploy/myapp/ofbiz-component.xml ofbizhome/specializedhot-deploy/myapp/webapp/myapp/WEB-INF/controller.xml ofbizhome/specializedhot-deploy/myapp/webapp/myapp/WEB-INF/web.xml ofbizhome/specializedhot-deploy/myapp/webapp/myapp/index.jsp |
...
web.xml:
change display name and description from "ecommerce"
to "myapp"
Then change specializedhot-deploy/component-load.xml to load
"myapp"
...
David Jones: Yes, this is the best practice... Being able to do this is part of the design and intention of the screen widget. BTW, the hot-deploy directory may be is easier to use than the specialized special-purpose directory, but of course you can mount a component from anywhere.
...