Re: state field missing from new customer form

2009-03-09 Thread BJ Freeman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 please submit a patch. http://docs.ofbiz.org/display/OFBADMIN/OFBiz+Contributors+Best+Practices http://docs.ofbiz.org/display/OFBADMIN/Coding+Conventions and http://docs.ofbiz.org/display/OFBADMIN/Best+Practices+Guide G. Michael Jean sent the

Re: state field missing from new customer form

2009-03-09 Thread Jacques Le Roux
We should show the states field only in relevant cases. For instance it's irrevelant for most EU countries, if not all... My guess is to introduce it for USA, and any other countries where it's relevant. So I propose to have a properties (in general.properties I guess) for this case and to use

Re: state field missing from new customer form

2009-03-09 Thread BJ Freeman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I can see where someone in a Country that does not have a State wanting to send something to someone that does have a State. this may be better handles with a Country lookup that is a form in ofbiz so that Geo code and address formats can be looked up

Re: state field missing from new customer form

2009-03-09 Thread Jacques Le Roux
Sorry BJ, I think when you create your profile (new customer is what we speak about here) you need only to fill informations about you. So I don't understand what you want to do here Jacques From: BJ Freeman bjf...@free-man.net I can see where someone in a Country that does not have a State

Re: state field missing from new customer form

2009-03-09 Thread BJ Freeman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yes, I was thinking ahead. In a customer, you have at least two scenarios. creating a customer as in the ECommerce and Creating a Customer as in New Client in SFA. In the second the company may be in a Country that does not require States, but he

Consolidating code

2009-03-09 Thread BJ Freeman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have been going through the code, and finding a frustration. it seems that a lot of people are finding what i call short cuts for their particular part of the code with out looking at the whole picture. My frustration is the effort to maintain such

Re: state field missing from new customer form

2009-03-09 Thread Jacques Le Roux
I understand now, thanks for details Jacques From: BJ Freeman bjf...@free-man.net Yes, I was thinking ahead. In a customer, you have at least two scenarios. creating a customer as in the ECommerce and Creating a Customer as in New Client in SFA. In the second the company may be in a Country

Ant target Create-Component after selecting n it create the component

2009-03-09 Thread ansh jain
Hello All, I m facing an problem after running Ant target that is ant create-component. I followed following steps *:* create-component: [input] Component name: Pactice [input] Component resource name: Practice [input] Webapp name: Practice [input] Base permission: [echo]

Re: Consolidating code

2009-03-09 Thread BJ Freeman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 and from your response you don't agree. interesting. David E Jones sent the following on 3/9/2009 8:27 AM: Ranting without any details is not constructive or actionable. Hire a shrink. -David On Mar 9, 2009, at 5:54 AM, BJ Freeman

Re: Consolidating code

2009-03-09 Thread David E Jones
Did I say or imply that? Now we're getting into trolling... so unless you want to talk about something specific... -David On Mar 9, 2009, at 10:17 AM, BJ Freeman wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 and from your response you don't agree. interesting. David E Jones

Re: Consolidating code

2009-03-09 Thread Jacques Le Roux
Have you some examples to make things more clear ? Eventually generalized to have a bigger picture... Jacques From: BJ Freeman bjf...@free-man.net I have been going through the code, and finding a frustration. it seems that a lot of people are finding what i call short cuts for their

Re: Ant target Create-Component after selecting n it create the component

2009-03-09 Thread Jacques Le Roux
Fixed at revision: 751734 (it's simple than that) Jacques From: gopal gautam gopalgauta...@gmail.com Hello Ansh,  For this you would have to use another failelement for n As... fail message=Component creation canceled by the user. condition

Re: Consolidating code

2009-03-09 Thread BJ Freeman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 actually David I was not looking for Validation. Nor was I looking for anyone to chime in. Nor did I want to start a discussion. Just bring up an awareness. In that scope, bringing up a specific case only focuses on that problem not the general point.

Re: Consolidating code

2009-03-09 Thread BJ Freeman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I believe that those that are coding should know. if they don't this is not the place to teach. Jacques Le Roux sent the following on 3/9/2009 9:37 AM: Have you some examples to make things more clear ? Eventually generalized to have a bigger

Re: Consolidating code

2009-03-09 Thread David E Jones
On Mar 9, 2009, at 10:45 AM, BJ Freeman wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 actually David I was not looking for Validation. Nor was I looking for anyone to chime in. Nor did I want to start a discussion. Mailing lists are for discussion... in fact isn't that all they're

Re: Consolidating code

2009-03-09 Thread Jacques Le Roux
Introspection is hard without external help Jacques From: BJ Freeman bjf...@free-man.net I believe that those that are coding should know. if they don't this is not the place to teach. Jacques Le Roux sent the following on 3/9/2009 9:37 AM: Have you some examples to make things more clear ?

Re: quickShipEntireOrder problems

2009-03-09 Thread Jacques Le Roux
I did not check any details but 1) If payment capture fails is the changeOrderStatus rolled back ? If not it's a normal behaviour and you should try to add a condition-field related to payment capture. 1') As I said I did not look into details but if the payment capture is part of a global

Problem in trunk: admin missing visual themes and others

2009-03-09 Thread Todd Burdeinei
I just loaded a fresh checkout from trunk, and ran Ant, then startofbiz.sh Navigated to localhost:8443/catalog/control/main The page displays: The Following Errors Occurred: Visual Theme resources not found. And view source reveals Expression layoutSettings.companyName is undefined on line

Re: Problem in trunk: admin missing visual themes and others

2009-03-09 Thread David E Jones
You may need to update your seed data. In ofbiz seed data is (or should) always be pure seed data maintained with code and is meant to be updated whenever you update the code. Run: ant run-install-seed -David On Mar 9, 2009, at 12:48, Todd Burdeinei tburdei...@gmail.com wrote: I just

Geolocation

2009-03-09 Thread Jacques Le Roux
For all those that may have tried the geolocation feature on demo server and found it not working. This was my bad : I have svn ignored general.properties on my OFBiz dev instance and forgot to commit it (since weeks!) It's done at r751824. So this feature should work on demo server soon

Re: quickShipEntireOrder problems

2009-03-09 Thread Hansen Wang
1. Yes. The transaction is rolled back. 1'. Yes. The global transaction include many services and one of them is changeOrderStatus. 2. No. This can happen regardless whether the capture fails or not. This happens for 1 out of 50 orders in my server. I have a work-around to include code to check

Re: quickShipEntireOrder problems

2009-03-09 Thread Jacques Le Roux
From: Hansen Wang han...@gemmall.com 1. Yes. The transaction is rolled back. 1'. Yes. The global transaction include many services and one of them is changeOrderStatus. 2. No. This can happen regardless whether the capture fails or not. This happens for 1 out of 50 orders in my server. I have a

subscriptions

2009-03-09 Thread Vince M. Clark
I am looking to use the existing subscriptions functionality as a starting point for handling magazine orders and need some clarity in two areas: 1) Duration of subscriptions. The example product, GZ-NEWS-1MO suggests that the product itself has something to do with the duration of the

Re: subscriptions

2009-03-09 Thread David E Jones
It sounds like you're misunderstanding the meaning of various entities: Subscription: keeps track of entitlement to SubscriptionResource for a certain period of time (ie history of what was purchased/etc, used to check permission to access, etc) SubscriptionResource: you would have one of

Re: subscriptions

2009-03-09 Thread Vince M. Clark
Thanks David. I was using the term subscription too loosely. I understand the difference in the various entities. Based on the ProductSubscriptionResource it appears as though a different product must be configured for different durations. For example if I sell a magazine and have the

Which release/revision of ofbiz would you recommend

2009-03-09 Thread farouk alhassan
I am starting a new project and would want to know which version of ofbiz i should checkout. Since ofbiz is community based, a lot of people make contributions and I hope to make some as well, but their changes may be break somethings while they themselves may not be aware as someone just found

Re: Which release/revision of ofbiz would you recommend

2009-03-09 Thread David E Jones
This page is a good place to start, and has information that directly addresses this question: http://docs.ofbiz.org/display/OFBADMIN/Apache+OFBiz+Getting+Started On a somewhat subjective note... all of the best OFBiz service providers work straight from the trunk and value community

Re: Which release/revision of ofbiz would you recommend

2009-03-09 Thread farouk alhassan
Ahh... That was spot on. Now I know what to do. hope to become a big community member as well. thank you --- On Mon, 3/9/09, David E Jones david.jo...@hotwaxmedia.com wrote: From: David E Jones david.jo...@hotwaxmedia.com Subject: Re: Which release/revision of ofbiz would you recommend To: