Re: why we should have a 10.04 standalone framework release

2010-09-18 Thread james_sg
Hi David, Thanks for the correction. - james David E Jones-4 wrote: > > > James, > > I think that was BJ's point: the OFBiz Entity Engine is NOT an ORM tool, > ie there is no attempt to map between an object model and the relational > model in the database. We simply use the relational mode

Re: JavaDocs

2010-09-18 Thread BJ Freeman
LOL it was meant in Jest. when have you ever seen me hurry. ROFLMAO Jacques Le Roux sent the following on 9/18/2010 3:30 PM: No hurry, thanks BJ! Jacques From: "BJ Freeman" Ok you twisted my arm. will make a jira as soon as I have the files to put in. >>Jacques Le Roux sent the following

Re: why we should have a 10.04 standalone framework release

2010-09-18 Thread BJ Freeman
Might I suggest Setup method. https://issues.apache.org/jira/browse/OFBIZ-635 have a group "System Setup" Bruno Busco sent the following on 9/18/2010 1:11 PM: That's my idea also. Any office automation system needs everything is now in the framework folder (entity engine, service engine, job sch

RE: Ofbiz WorkFlow Engine

2010-09-18 Thread Shi Jinghai
Bug, now fixed. Please update the source code and rebuild. Good luck, Shi Jinghai/Beijing Langhua Ltd. 在 2010-09-16四的 16:16 +0530,Deepa Priolkar写道: > Hi Shi, > > > > I have build the sample.process zip file. But it does not have the > productdefination.xml file. I am totally new to Maven s

Re: JavaDocs

2010-09-18 Thread Jacques Le Roux
No hurry, thanks BJ! Jacques From: "BJ Freeman" Ok you twisted my arm. will make a jira as soon as I have the files to put in. >>Jacques Le Roux sent the following on 9/18/2010 2:18 PM: From: "David E Jones" BTW, about that email from me: I don't think that is the best solution for the p

Re: application/x-json issue in FF (3.6.8)

2010-09-18 Thread Jacques Le Roux
Not sure why and how (FF, plugins versions?) but this has been resolved since then without any actions from me. :D Jacques From: "Jacques Le Roux" Testing the work commited at revision: 989599, I crossed again an issue I have for a long time in FF with application/x-json, and I guess applicat

Re: JavaDocs

2010-09-18 Thread Jacques Le Roux
From: "Jacques Le Roux" From: "David E Jones" BTW, about that email from me: I don't think that is the best solution for the project in general. It is a good option for individual developers and users, and maybe the best option unless the project takes a different approach. Yes, I agree it

Re: JavaDocs

2010-09-18 Thread BJ Freeman
Ok you twisted my arm. will make a jira as soon as I have the files to put in. >>Jacques Le Roux sent the following on 9/18/2010 2:18 PM: From: "David E Jones" BTW, about that email from me: I don't think that is the best solution for the project in general. It is a good option for individu

Re: Error of java type in createProduct simple method

2010-09-18 Thread Jacques Le Roux
Fixed at r998557 in trunk Jacques From: "Cimballi" Idem for WorkEffort.quantityToProduce TechDataCalendarExcDay.usedCapacity TechDataCalendarExcDay.exceptionCapacity On Sat, Dec 19, 2009 at 2:47 PM, Cimballi wrote: Adrian and Jacques, There is the same problem for the following fields : W

Re: why we should have a 10.04 standalone framework release

2010-09-18 Thread Ken Gunderson
On Sat, 2010-09-18 at 10:42 +0100, chris snow wrote: > Hi BJ, there are parts of ofbiz that could be 'easily' used outside of > ofbiz if they weren't all part of the same code base. The Entity > Engine example is one part that could become a library. Other parts > include the datatype coverters

Re: Nesting required-permissions in service definition

2010-09-18 Thread Jacques Le Roux
Yes, a patch could be contributed. Just verify before that you are using the right xsd version and that it's has not been already fixed. Jacques From: "Rene Scheibe" We are using nested 'required-permissions' elements in our service definitions to implement AND & OR joining. See below:

Re: JavaDocs

2010-09-18 Thread Jacques Le Roux
From: "David E Jones" BTW, about that email from me: I don't think that is the best solution for the project in general. It is a good option for individual developers and users, and maybe the best option unless the project takes a different approach. Yes, I agree it's 2 different things. I hav

Re: why we should have a 10.04 standalone framework release

2010-09-18 Thread chris snow
Making the entity engine available as a standalone module definitely has appeal. For example, the entity engine would sit nicely alongside an ESB such as mule for providing a very flexible and quick to develop persistence adapter. When I talk about the framework being more modular, I am looking

Re: why we should have a 10.04 standalone framework release

2010-09-18 Thread Bruno Busco
That's my idea also. Any office automation system needs everything is now in the framework folder (entity engine, service engine, job scheduling, screen widgets, portals, localization, themes, webslinger!, etc.) plus IMO a basic party management system to allow users to login and interact with the

Re: JavaDocs

2010-09-18 Thread David E Jones
BTW, about that email from me: I don't think that is the best solution for the project in general. It is a good option for individual developers and users, and maybe the best option unless the project takes a different approach. For example, it would be great to have separate URLs for different

Re: JavaDocs

2010-09-18 Thread Jacques Le Roux
Here is a pragmatic answer from David http://markmail.org/message/lbxf4jxallv7yngq And here another interesting (older) one which will please Chris http://markmail.org/message/dbit6lgsprx2eywu Also for Eclipse https://cwiki.apache.org/confluence/display/OFBIZ/FAQ+-+Tips+-+Tricks+-+Cookbook+-+How

Re: JavaDocs

2010-09-18 Thread BJ Freeman
The xsd are covered by using the internal ones. 9.04 started some internal doc of the xsd. and it has progress in trunk but not backwards. but maybe a discussion about the Xsd being set for each version http://ofbiz.apache.org/dtds/4.0 http://ofbiz.apache.org/dtds/9.04 http://ofbiz.apache.org/dtd

Re: does VAT work on 9.04

2010-09-18 Thread Info Olagos
oei difficult ! ok Heidi 2010/9/18 chris snow > I found the problem - I was testing the shopping cart using the > "admin" userid. The admin user didn't have a shipping address so > calcAndAddTax was just silently returning: > >public void calcAndAddTax(GenericValue shipAddress) throws > G

Re: JavaDocs

2010-09-18 Thread chris snow
and xsd's? http://ofbiz.apache.org/dtds/ On Sat, Sep 18, 2010 at 6:39 PM, BJ Freeman wrote: > should we have one for each release 4.0,9.04, 10.04 and trunk > http://ci.apache.org/projects/ofbiz/site/javadocs/ > > = > BJ Freeman > Strategic Power Office with Supplier Automa

JavaDocs

2010-09-18 Thread BJ Freeman
should we have one for each release 4.0,9.04, 10.04 and trunk http://ci.apache.org/projects/ofbiz/site/javadocs/ = BJ Freeman Strategic Power Office with Supplier Automation Specialtymarket.com

Re: using json

2010-09-18 Thread chris snow
Hi BJ, thanks for the response. Unfortunately, an iframe won't do - I need to have a json client running on a remote server. On Sat, Sep 18, 2010 at 6:16 PM, BJ Freeman wrote: > how about an Iframe from the website to the login you want to use. > I use this a lot for backend Customer login for m

Re: using json

2010-09-18 Thread BJ Freeman
how about an Iframe from the website to the login you want to use. I use this a lot for backend Customer login for my portal, on clients websites that ofbiz is the back end but not the ecommerce provider. chris snow sent the following on 9/18/2010 9:32 AM: Are there any instructions for connec

Re: Recording Commissions from Partner website

2010-09-18 Thread BJ Freeman
Not that I know of OfBizSuds sent the following on 9/16/2010 11:21 PM: Suppose we have a link to a partner website from our site& whenever a user from our website goes to their website and makes a purchase we get a commission. We have no control over the partner website& at the end of every

Re: why we should have a 10.04 standalone framework release

2010-09-18 Thread David E Jones
When was the last time you worked on a project where you only needed a tool for persistence and didn't need tools for anything else? On the other hand, if you really LIKE to roll your own framework for each project, and based on tools that aren't necessarily meant to work together, then the ap

Re: why we should have a 10.04 standalone framework release

2010-09-18 Thread David E Jones
James, I think that was BJ's point: the OFBiz Entity Engine is NOT an ORM tool, ie there is no attempt to map between an object model and the relational model in the database. We simply use the relational model itself. This reduces redundancy (you don't have to create an object model), and it

using json

2010-09-18 Thread chris snow
Are there any instructions for connecting to ofbiz using javascript+json from an external web application. I would like to make a call to a service/controller that requires authentication. Many thanks, Chris

problem in new component

2010-09-18 Thread hdv
hi I am developing an e-commerce site.I have created one site by doing changes in ecommerce component and it is working fine but now i want same site but using our new component.I have created new component and also done lots of changes but not able to get products from db but when I change the m

Re: why we should have a 10.04 standalone framework release

2010-09-18 Thread Adrian Crum
--- On Sat, 9/18/10, chris snow wrote: > Hi BJ, there are parts of ofbiz that > could be 'easily' used outside of > ofbiz if they weren't all part of the same code base.  > The Entity > Engine example is one part that could become a > library.  Other parts > include the datatype coverters and temp

Re: why we should have a 10.04 standalone framework release

2010-09-18 Thread BJ Freeman
Thanks for the taking the time to explain. So you planning a seperate project? I don't see the business need for distribution in this environment of just the Jars, for the framework. I could see them in another environment that is not directly related to this project(svn). chris snow sent

Re: how to automatically invoke the java file whenever ofbiz starts?...

2010-09-18 Thread saravanan6
Hi Scott, i followed ur step with my sample pgm like below public class startupTest implements org.ofbiz.base.container { startupTest() { System.out.println(""); System.out.println("***

Re: why we should have a 10.04 standalone framework release

2010-09-18 Thread chris snow
Hi BJ, there are parts of ofbiz that could be 'easily' used outside of ofbiz if they weren't all part of the same code base. The Entity Engine example is one part that could become a library. Other parts include the datatype coverters and temporal expressions. At the moment if I want to use thes

Re: why we should have a 10.04 standalone framework release

2010-09-18 Thread BJ Freeman
to give you an example, when first came to ofbiz and had many DB based projects. They already had a data model i had develop over 10 years. so I did not use the applications or data model, that ofbiz had. I induced my data from the db into entity defs and converted the code I had into entity and

Re: why we should have a 10.04 standalone framework release

2010-09-18 Thread BJ Freeman
Chris I may be dense, but what dependencies do you see from the entity engine to the rest of ofbiz? I agree that from the rest of ofbiz the entity engine is core, and is to me the very reason that ofbiz is great. But from a framework point of view you can strip away the application and specialpu

Re: why we should have a 10.04 standalone framework release

2010-09-18 Thread chris snow
I'm sorry for pushing this off-track by mentioning hibernate. The important point is that the technologies aren't important. There are many technologies that could be used for the entity engine, and as BJ has pointed out, the ofbiz entity engine is very good. The problem for me is that the entity

Re: why we should have a 10.04 standalone framework release

2010-09-18 Thread james_sg
Hi BJ, I treat OFBiz entity engine as an ORM that uses Map for the Object part. The gui modeler is a desktop application (not sure if it is swt based), that helps with the editing of the database definition files, and database schema migration. The gui modeler is not used in the web application,

Re: how to automatically invoke the java file whenever ofbiz starts?...

2010-09-18 Thread Scott Gray
The ofbiz-containers.xml file in /base/ If you create a class that implements org.ofbiz.base.container and register it in the containers file like this: then ofbiz will call init(...) and start() on your class during startup and then stop() during shutdown. The containers are loaded in the orde

Re: why we should have a 10.04 standalone framework release

2010-09-18 Thread BJ Freeman
One of the reason I came to ofbiz was to get away from the bloat of ORM. if I read the modeler right that is swt based Gui which introduces a communication layer back to the server, unlike ofbiz being generated on the fly into html, from the server. BTw I have a Commercial Swt Gui Generator an

Re: why we should have a 10.04 standalone framework release

2010-09-18 Thread james_sg
Just to add on to point 6. Since the entity in Cayenne can be programmatically construct, it should be possible to read OFBiz's entity files. james_sg wrote: > > Hi all, > > Apache Cayenne has the closest match to OFBiz Entity Engine. > > A few points about Cayenne: > 1. Cayenne has generic

Re: why we should have a 10.04 standalone framework release

2010-09-18 Thread james_sg
Hi all, Apache Cayenne has the closest match to OFBiz Entity Engine. A few points about Cayenne: 1. Cayenne has generic object while OFBiz has Generic Value. 2. Cayene has DerivedDbEntity (depreciating) to OFBiz's View Entity. 3. Cayenne has a gui modeler to map the database. 4. Cayenne support