ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From varun bhansaly <vbhans...@gmail.com>
Subject Re: set to NULL in SECAs
Date Tue, 20 Jul 2010 05:06:07 GMT
The issue is with attribute name = "partyId" both CC & CA are custom
services working fine independently.

partyId comes in the output of CC, the idea is to either

1. reset partyId to null OR
2. not to send it in input to CA.

for 2. I have tried with result-map-name attribute, but it remains the same
(as observed while context is printing in CA).

I would not want to change any of the input output params since they work
fine independently.

Thanks



On Tue, Jul 20, 2010 at 10:14 AM, Scott Gray <scott.gray@hotwaxmedia.com>wrote:

> I'm guessing here that you want service2 to be triggered before service1
> and ultimately have it alter the value of attribute1 before it gets passed
> to service1?
>
> If so, then just define attribute1 as INOUT and then modify it inside
> service2 and get rid of attribute2 altogether.
>
> Regards
> Scott
>
> HotWax Media
> http://www.hotwaxmedia.com
>
> On 20/07/2010, at 4:26 PM, varun bhansaly wrote:
>
> > Thanks Jacques, Scott, is there any other way to achieve the same w/o
> > customizing the framework code ?
> >
> > This is the actual problem
> > http://ofbiz.135035.n4.nabble.com/query-regarding-SECAs-tt2294160.html
> >
> > Thanks,
> >
> > On Tue, Jul 20, 2010 at 9:34 AM, Scott Gray <scott.gray@hotwaxmedia.com
> >wrote:
> >
> >> Won't work, I'm pretty sure nothing will after looking at the code.
> >>
> >> Regards
> >> Scott
> >>
> >> HotWax Media
> >> http://www.hotwaxmedia.com
> >>
> >> On 20/07/2010, at 3:57 PM, Jacques Le Roux wrote:
> >>
> >>> Try nullField, ie
> >>> <set field-name="attribute1" value="nullField"/>
> >>>
> >>> Jacques
> >>>
> >>> From: "varun bhansaly" <vbhansaly@gmail.com>
> >>>> Hi,
> >>>> I am implementing a scenario using SECAs, where in it would be
> required
> >> to
> >>>> set a field to NULL or empty string.
> >>>> Is it possible to set a field to NULL using the set tags of eca xmls.
> >>>> I've tried with <set field-name="attribute1" value=""/> but this
does
> >>>> not set attribute1 to empty string
> >>>> --
> >>>> Regards,
> >>>> Varun Bhansaly
> >>>>
> >>>
> >>
> >>
> >
> >
> > --
> > Regards,
> > Varun Bhansaly
>
>


-- 
Regards,
Varun Bhansaly

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message