hi,
I want to configure an application which is outside ofbiz folder. even images and css folder are differnent for that application How can i configure that application with ofbiz?. The structure of that application is same as that of applications in ofbiz. regards G.Rajshekhar |
Rajshekar,
You will need to add your application in the component loader. The file component-load.xml is located under ofbiz/framework/base/config folder. You will need to add this line <load-component component-location="${ofbiz.home}/../myApp"/>. myApp - is the parent folder name of your application. Incase, if you have more than one application under that folder, then you will need to add this line instead - <load-components parent-directory="${ofbiz.home}/../myApp"/> <component-loader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.ofbiz.org/dtds/component-l oader.xsd"> <load-components parent-directory="${ofbiz.home}/framework"/> <load-components parent-directory="${ofbiz.home}/applications"/> <load-components parent-directory="${ofbiz.home}/specialized"/> <load-components parent-directory="${ofbiz.home}/hot-deploy"/> <load-component component-location="${ofbiz.home}/../myApp"/> </component-loader> These are the files that need to configured for your application inside your application. 1.> ofbiz-component.xml or component-load.xml depending if you have one or more than one applications to load. 2.> web.xml - in WEB-INF folder 3.> controller.xml - in WEB-INF folder 4.> entitydefs - Make sure to include all your entity definitions in ofbiz-component.xml 5.> servicedefs - Make sure to include all your service definitions in ofbiz-component.xml OFBiz side configuration required - 1.> component-load.xml - To include your application in OFBiz. 2.> entityengine.xml - To configure your database. Hope this helps. Amit Shinde -----Original Message----- From: rajshekhar [mailto:[hidden email]] Sent: Friday, September 22, 2006 11:52 AM To: [hidden email] Subject: how to configure an application which is outside ofbiz hi, I want to configure an application which is outside ofbiz folder. even images and css folder are differnent for that application How can i configure that application with ofbiz?. The structure of that application is same as that of applications in ofbiz. regards G.Rajshekhar -- View this message in context: http://www.nabble.com/how-to-configure-an-application-which-is-outside-ofbiz -tf2316079.html#a6441706 Sent from the OFBiz - User mailing list archive at Nabble.com. |
Since my application is outside the ofbiz folder, how can i give path in component-load.xml, I can't access $ofbiz.home. Is it possible to give hard code path like "/home/rajshekhar/ws-eclipse/puf/develop"
in component-load.xml ? regards G.Rajshekhar |
make a symbolic link in the hot-deploy directory to your application.
Then you can access it if it was located there..... On Friday 22 September 2006 15:14, rajshekhar wrote: > Since my application is outside the ofbiz folder, how can i give path in > component-load.xml, I can't access $ofbiz.home. Is it possible to give hard > code path like "/home/rajshekhar/ws-eclipse/puf/develop" > in component-load.xml ? > > regards > G.Rajshekhar -- Regards, Hans Bakker ANT Websystems Co.,Ltd (http://www.antwebsystems.com) If you want to verify that this message really originates from from the above person, download the public key from: http://www.antwebsystems.com/hbakkerAntwebsystems.asc attachment0 (196 bytes) Download Attachment |
In reply to this post by rajshekhar
Hi Folks,
I'm working on a subscription site, it involves first creating a free trial, this I guess is something along the lines of a free product. But of course I still need to collect payment details so that we can continue at the end of the trial. Has anyone done this? What is the best way with the new Subscription stuff? -- Kind Regards Andrew Sykes <[hidden email]> Sykes Development Ltd http://www.sykesdevelopment.com |
To do this sort of thing you may need to do a custom checkout process or something... On a lower level what you need to do is create a Subscription record to represent the initial free trial access, and then probably a ShoppingList and related records so that an order is placed for them later to extend the subscription. There could be other ways of getting to this than just doing a custom checkout process, but I know of one company that is working on doing this level stuff with a custom checkout process. -David On Sep 22, 2006, at 9:38 AM, Andrew Sykes wrote: > Hi Folks, > > I'm working on a subscription site, it involves first creating a free > trial, this I guess is something along the lines of a free product. > But > of course I still need to collect payment details so that we can > continue at the end of the trial. > > Has anyone done this? What is the best way with the new Subscription > stuff? > -- > Kind Regards > Andrew Sykes <[hidden email]> > Sykes Development Ltd > http://www.sykesdevelopment.com > |
David,
Well, that's pretty much what I'm working on, I was just struck with some angst this morning that perhaps I'd missed something new! Thanks for the reassurance! :-) - Andrew On Fri, 2006-09-22 at 13:21 +0100, David E Jones wrote: > To do this sort of thing you may need to do a custom checkout process > or something... On a lower level what you need to do is create a > Subscription record to represent the initial free trial access, and > then probably a ShoppingList and related records so that an order is > placed for them later to extend the subscription. > > There could be other ways of getting to this than just doing a custom > checkout process, but I know of one company that is working on doing > this level stuff with a custom checkout process. > > -David > > > On Sep 22, 2006, at 9:38 AM, Andrew Sykes wrote: > > > Hi Folks, > > > > I'm working on a subscription site, it involves first creating a free > > trial, this I guess is something along the lines of a free product. > > But > > of course I still need to collect payment details so that we can > > continue at the end of the trial. > > > > Has anyone done this? What is the best way with the new Subscription > > stuff? > > -- > > Kind Regards > > Andrew Sykes <[hidden email]> > > Sykes Development Ltd > > http://www.sykesdevelopment.com > > > Kind Regards Andrew Sykes <[hidden email]> Sykes Development Ltd http://www.sykesdevelopment.com |
Free forum by Nabble | Edit this page |