Re: why we should have a 10.04 standalone framework release

2010-09-17 Thread chris snow
Hi James, I spent a lot of time looking at this and came to the conclusion that in 10.04 the dependencies between framework and applications became too intertwined to make a separate 10.04 framework. Here are some of the pages I put together documenting my steps:

Recording Commissions from Partner website

2010-09-17 Thread OfBizSuds
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 month they give us a list of purchases made thru this link what the

Re: removing unwanted locales

2010-09-17 Thread Jacques Le Roux
Chris, and everybody interested, I guess because we are not using Confluence Export (like some other Apache projects do) we don't have a reliable Google indexing As I explained to BJ use rather my tip at bottom of https://cwiki.apache.org/confluence/display/OFBADMIN/Mailing+Lists You may also

Re: why we should have a 10.04 standalone framework release

2010-09-17 Thread Jacques Le Roux
We (Erwan and me mostly) did some work to remove existing dependencies from the Example component there are still some but very easy to remove Also note this page https://cwiki.apache.org/confluence/display/OFBADMIN/Component+and+Component+Set+Dependencies I think we should group all pages

Re: removing unwanted locales

2010-09-17 Thread chris snow
Hi Jacques - I don't find the wiki search very useful. What are the issues with using Confluence Export? Cheers, Chris On Fri, Sep 17, 2010 at 7:47 AM, Jacques Le Roux jacques.le.r...@les7arts.com wrote: Chris, and everybody interested, I guess because we are not using Confluence Export

Re: why we should have a 10.04 standalone framework release

2010-09-17 Thread james_sg
Hi Bruno, My opinions as below: For now, I will call the standalone framework as framework project and the rest of the components as applications project. 1. As the current framework embeds servlet container like Tomcat and Jetty, codes related to servlet containers stay with the standalone

Sections at the main page of eCommerce module

2010-09-17 Thread Juan Jesús Cremades Monserrat
Hi everybody! I've begun with OFBiz today and I'm looking for some features for my eShop. I was asking to me if exists some widgets like News or Novelties. I was looking the Wiki but I haven't found. Thanks!

Re: Sections at the main page of eCommerce module

2010-09-17 Thread BJ Freeman
did you know screenlet functionality could be duplicated to News or you could just change the tittle. Novelties would be a category, and be under the Browse Categories screenlet. there is a little more to it than than but it shows it is possible. Juan Jesús Cremades Monserrat sent the

Re: why we should have a 10.04 standalone framework release

2010-09-17 Thread james_sg
Hi Chris, I believe framework separation is a win-win situation and things will get sorted out when the common agreement is there. I am using 9.04. For non-erp project, I have other favorite framework. -james chris snow wrote: Hi James, I spent a lot of time looking at this and came to

Re: why we should have a 10.04 standalone framework release

2010-09-17 Thread chris snow
If you follow my instructions for 9.04 that will to a large extent give you framework independence. I think 9.04 makes a good basis for looking at modularising parts of ofbiz. For example, I would like to see the entity engine live in its own project. The entity engine from what I remember is

Re: why we should have a 10.04 standalone framework release

2010-09-17 Thread BJ Freeman
to me framework is what has not ability to interact with the real world, like party, but just the tools. so base layer is Entity and service engine. Next layer is Webapp and Widgets. next layer is Webtools next layer is security and common A person should be able to enable those things that

Re: why we should have a 10.04 standalone framework release

2010-09-17 Thread chris snow
I would see entity engine and service engine as separate modules. Each module should have clearly defined api defining how they interact with the outside world. A clearly defined api will facilitate swapping parts. For example, the entity engine could be replaced with a hibernate based engine

Re: Error

2010-09-17 Thread pankaj savita
Hi Gavin, These are scheduled jobs running by internal quartz job store of ofbiz. In 'org.ofbiz.service.job.JobPoller' class there is run() method which calls poll() method of 'org.ofbiz.service.job.JobManager' class. In JobManager poll() method there in an update query fired on JOB_SANDBOX

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

2010-09-17 Thread saravanan6
Hi to all, We are using Apache ofbiz9.0 for our application.Now i want to automatically invoke the java file whenever ofbiz application starts?. How i do it? Please give me your tips abt this problem... I am very much expecting your valuable reply in this regard Thanks in Advance

Re: why we should have a 10.04 standalone framework release

2010-09-17 Thread BJ Freeman
Entity and service are seperate modules as they stand now. I would branch and leave ofbiz if the entity module was removed. it and how it relates to db and UI is why I came to ofbiz. I rejected hibernate and want nothing to do with them. = BJ Freeman

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

2010-09-17 Thread BJ Freeman
can you expand on what you want to do. we compile java and it does get loaded. we use groovy for java like code that can modified on the fly so to speak. saravanan6 sent the following on 9/17/2010 1:53 AM: Hi to all, We are using Apache ofbiz9.0 for our application.Now i want to

Running the wrong code

2010-09-17 Thread Jeremy Olmstead
I have extended the order component to make custom changes using Eclipse. I created a custom class with the same name as an existing one, then went into the Java Build Path, included my new source location, and excluded the original Java file. I also made sure that hot-deploy/order/src was

extending an eca

2010-09-17 Thread chris snow
Is it possible to extend an eca? For example, when an order is completed, I would like to call another service. There is already an OOTB eca: eca service=changeOrderItemStatus event=commit condition field-name=statusId operator=equals value=ITEM_COMPLETED/ action

currency change in general.properties not taking effect

2010-09-17 Thread chris snow
I have changed general.properties to defaultOrganizationPartyId=Company locale.properties.fallback=en_GB locales.available=en_GB And start.properties to ofbiz.locale.default=en_GB However, the ecommerce page is still showing prices with $ and not £ Any ideas? Many thanks, Chris

Re: currency change in general.properties not taking effect

2010-09-17 Thread chris snow
It was because I was logged in as admin and the old locale must have been stuck in the session. Restarted, logged out and logged in and £ sign is showing. On Fri, Sep 17, 2010 at 8:02 PM, chris snow chsnow...@gmail.com wrote: I have changed general.properties to  

Re: Running the wrong code

2010-09-17 Thread BJ Freeman
try ./ant clean ./ant build though you remarked out the code the Jar was already built. so need to remove the Jar and rebuild them. = BJ Freeman http://bjfreeman.elance.com Strategic Power Office with Supplier Automation

Re: extending an eca

2010-09-17 Thread BJ Freeman
don't believe so just remove the action service=checkOrderItemStatus mode=sync/ from yours both will fire. Note: unless I want to change based on commit I use one of the other triggers that fit my service. they all effect the same transaction. chris snow sent the following on

Re: extending an eca

2010-09-17 Thread BJ Freeman
oops meant event instead of trigger BJ Freeman sent the following on 9/17/2010 12:40 PM: don't believe so just remove the action service=checkOrderItemStatus mode=sync/ from yours both will fire. Note: unless I want to change based on commit I use one of the other triggers that fit my service.

Re: extending an eca

2010-09-17 Thread chris snow
Note: unless I want to change based on commit I use one of the other triggers that fit my service. they all effect the same transaction. Hi BJ, I don't understand your last line - can you please elaborate? I would like checkOrderItemStatus and myCustomerService to be part of the same

Re: does VAT work on 9.04

2010-09-17 Thread Info Olagos
no in my shop it is working very good. Did you configure it in the accounting taxes part ? regards,Heidi 2010/9/17 chris snow chsnow...@gmail.com I've probably mis-configured my setup, but thought I would also double check if VAT is working on 9.04? My checkout VAT is always showing 0.00

Re: does VAT work on 9.04

2010-09-17 Thread chris snow
I have setup the accounting taxes part. Do your products have a shipping cost? On Fri, Sep 17, 2010 at 10:47 PM, Info Olagos info.ola...@gmail.com wrote: no in my shop it is working very good. Did you configure it in the accounting taxes part ? regards,Heidi 2010/9/17 chris snow

Re: does VAT work on 9.04

2010-09-17 Thread Info Olagos
yes, they have a shipping cost. I use release09.04. Did you say in the products configuration to add tax? Heidi 2010/9/17 chris snow chsnow...@gmail.com I have setup the accounting taxes part. Do your products have a shipping cost? On Fri, Sep 17, 2010 at 10:47 PM, Info Olagos

Re: does VAT work on 9.04

2010-09-17 Thread chris snow
Yes, under the miscellaneous sub-section. On Fri, Sep 17, 2010 at 11:07 PM, Info Olagos info.ola...@gmail.com wrote: yes, they have a shipping cost. I use release09.04. Did you say in the products configuration to add tax? Heidi 2010/9/17 chris snow chsnow...@gmail.com I have setup the

Tax bug --or-- The best way to override a single java file.

2010-09-17 Thread Mike Z
I found an odd behavior with the tax handling in ofbiz. If you need to charge local sales tax based on ZIP-4 (like in WA state), I found the following: 1) User enters exact ZIP-4 zip code (which is in ofbiz), local sales tax is charged correctly. 2) User just enters ZIP (which is in ofbiz),

Re: does VAT work on 9.04

2010-09-17 Thread 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 GeneralException { if

Re: Tax bug --or-- The best way to override a single java file.

2010-09-17 Thread BJ Freeman
I would suggest a ECA this allows others to not be effected by your changes like VAT. the ECA can check the Locale to see if it needs to run. since not all countries use zip. Mike Z sent the following on 9/17/2010 3:51 PM: I found an odd behavior with the tax handling in ofbiz. If you need

Re: Tax bug --or-- The best way to override a single java file.

2010-09-17 Thread BJ Freeman
to help: the user input should be dealt with in the module it comes from. party zip code is dealt with in the party component. It should be resolved by the time it gets to TaxAuthorityServices So the ECA should be in the componet that has the first service that deals with the user input that

Re: Tax bug --or-- The best way to override a single java file.

2010-09-17 Thread BJ Freeman
this is some what dated but gets you going http://svn.apache.org/repos/asf/ofbiz/site/docs/services.html#ECAs plus look at framework\service\dtd\service-eca.xsd for current implementation. do a search for eca service to see how it had been implemented. = BJ Freeman

Re: extending an eca

2010-09-17 Thread BJ Freeman
sorry about that was thinking same service and wrote same transaction. as far as I know you do not replace the other eca so it will be processed then yours will be. chris snow sent the following on 9/17/2010 12:51 PM: Note: unless I want to change based on commit I use one of the other

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

2010-09-17 Thread saravanan6
hi freeman, i want to create a thread whenever ofbiz starts? so, i want to activate that java file automatically at startup Plz give me the solution... Saravanan -- View this message in context:

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

2010-09-17 Thread BJ Freeman
I suggest you study the framework/base code. also I don't recommend you take this approach with out first understanding how ofbiz works. you don't have to get into threads to use ofbiz. = BJ Freeman Strategic Power Office with Supplier Automation

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

2010-09-17 Thread Scott Gray
Create a class that implements Container and then register it in ofbiz-containers.xml Regards Scott HotWax Media http://www.hotwaxmedia.com On 18/09/2010, at 4:25 PM, saravanan6 wrote: hi freeman, i want to create a thread whenever ofbiz starts? so, i want to

Re: Tax bug --or-- The best way to override a single java file.

2010-09-17 Thread Scott Gray
You can also just create a create a new calcTax (I think it's called) service definition that invokes a custom implementation. Or you could reject invalid zip codes when the shipping address is created. Regards Scott HotWax Media http://www.hotwaxmedia.com On 18/09/2010, at 2:58 PM, Mike Z

Re: why we should have a 10.04 standalone framework release

2010-09-17 Thread Scott Gray
Hi Chris, Could you explain how you envisage swapping the entity engine with hibernate considering one uses Maps (GenericValue) and the other uses POJOs to represent data? Thanks Scott HotWax Media http://www.hotwaxmedia.com On 18/09/2010, at 1:32 AM, chris snow wrote: I would see entity