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
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
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
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
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
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
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
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
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
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
10 matches
Mail list logo