RE: Complicated pricing

2007-09-30 Thread [EMAIL PROTECTED]
BJ Not much chance this bit of code will be useful to the extended community. This is pretty weird from most of my customers. But, I hang on to it just in case. Skip -Original Message- From: BJ Freeman [mailto:[EMAIL PROTECTED] Sent: Sunday, September 30, 2007 11:17 AM To: user@ofbiz.ap

RE: Complicated pricing

2007-09-30 Thread [EMAIL PROTECTED]
Sharad Thanks to you as well, I think I am beginning to understand this service extension. Skip -Original Message- From: sharad bhushan [mailto:[EMAIL PROTECTED] Sent: Sunday, September 30, 2007 9:24 AM To: user@ofbiz.apache.org Subject: Re: Complicated pricing Hi, Just To support the

RE: Complicated pricing

2007-09-30 Thread [EMAIL PROTECTED]
Jonathon Thanks - thanks. This is exactly what I needed and you saved me hours on trial and error. Equally important, this is exactly what I hoped I could do. Thanks again. I'll add this email to my important notes. Skip -Original Message- From: Jonathon -- Improov [mailto:[EMAIL PRO

Re: Complicated pricing

2007-09-30 Thread Jonathon -- Improov
Skip, Create a hot-deploy app (you can skip the webapp creation). Insert a service definition (in say servicedef/services.xml), service name "skip.calculateProductPrice". Extend the class of original Java method "calculateProductPrice", in case that method uses any class members. In your new

Re: Complicated pricing

2007-09-30 Thread BJ Freeman
or /hotdeploy/skipdever/servicedefs BJ Freeman sent the following on 9/30/2007 11:16 AM: > it would seem the easiest to so put your service in your module > /specilized/skipdever/servicedefs > and call it calculateProductPrice_mod > you code can then call it. > should your code be accepted by the

Re: Complicated pricing

2007-09-30 Thread BJ Freeman
it would seem the easiest to so put your service in your module /specilized/skipdever/servicedefs and call it calculateProductPrice_mod you code can then call it. should your code be accepted by the community then change it to calculateProductPrice send a patch via the jira [EMAIL PROTECTED] sent

Re: Complicated pricing

2007-09-30 Thread sharad bhushan
Hi, Just To support the comments below we also customized the services like shippingcosts service ,mail service.. and to do that customization remeber that this service changes will be used by the frame work at all levels (i mean calls). You can customize this just by writing the service and gi

RE: Complicated pricing

2007-09-30 Thread [EMAIL PROTECTED]
Jonathon Thanks for the input. However, I guess I didn't ask the question right. "calculateProductPrice" is defined as a service in services_pricepromo.xml as: ... and this is loaded from ...product/ofbiz-component.xml as The question is, how can I override the original definition wi

Re: Complicated pricing

2007-09-30 Thread Jonathon -- Improov
Yes, overriding that method will mean you won't touch the OFBiz codes. That could mean you can continue to use your custom method, while still conveniently watching the community's updates to the original method. Such a method override will also kinda "document" your custom method as "being rel

Re: In case anyone is interested

2007-09-30 Thread Jacques Le Roux
Skip, Thanks for comment, definitively in my notes :o) Jacques De : "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > Jacques > > That is exactly what I did, I added a -soe (and soe.properties, etc) and my > own container, almost identical to the XUIContainer. However, this was a > pure java app and wh