Login  Register

Re: Dev - entity insert event

Posted by Fred Forester-2 on May 20, 2006; 12:37pm
URL: http://ofbiz.116.s1.nabble.com/Dev-entity-insert-event-tp167999p168005.html


I Have it coded up and the EECA is getting control and I see the
converted sha password in the log but the updates to the entity are not
getting back to the databasse. the eeca's do not seem to have a result
value as most of the seca's do. I tried storing the updated entity back
in the context and also tried returning a result.

I attached a patch. maybe someone can tell me what I am missing.

Thanx
Fred




David E Jones wrote:

> I guess a good way to put it is to say that SECAs should be used for logic and process oriented things, and EECAs should really only be used for data maintenance, like populating fields derived from other fields (in the same or other entities).
>
> -David
>
>
> Si Chen wrote:
>
>>Just going off our Payments EECA discussion--perhaps "deprecated" is the
>>wrong word, but I guess it's not really recommended for tying things
>>together.  Si
>>
>>David E Jones wrote:
>>
>>>Si,
>>>
>>>Yeah, what do you mean by deprecated? The Entity ECAs are not deprecated to the best of my knowledge, but there are certainly circumstances where they should and should not be used...
>>>
>>>-David
>>>
>>>
>>>Si Chen wrote:
>>>  
>>>
>>>>Yes that is what you want, but FYI it is "deprecated"--search this
>>>>archive for comments.
>>>>
>>>>Si
>>>>
>>>>Fred Forester wrote:
>>>>    
>>>>
>>>>>looks like entity-eca is what I want
>>>>>
>>>>>
>>>>>Fred Forester wrote:
>>>>>  
>>>>>      
>>>>>
>>>>>>Hi all,
>>>>>>
>>>>>>I need to see how to run an event when an entity is created. is there
>>>>>>something like that in ofbiz I can look at?
>>>>>>
>>>>>>
>>>>>>Thanx
>>>>>>Fred
>>>>>>
>>>>>>
>>>>>>_______________________________________________
>>>>>>Dev mailing list
>>>>>>[hidden email]
>>>>>>http://lists.ofbiz.org/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>>>    
>>>>>>        
>>>>>
>>>>>
>>>>>_______________________________________________
>>>>>Dev mailing list
>>>>>[hidden email]
>>>>>http://lists.ofbiz.org/mailman/listinfo/dev
>>>>>
>>>>>
>>>>>  
>>>>>      
>>>>
>>>>------------------------------------------------------------------------
>>>>
>>>>
>>>>_______________________________________________
>>>>Dev mailing list
>>>>[hidden email]
>>>>http://lists.ofbiz.org/mailman/listinfo/dev
>>>>    
>>>
>>>
>>>_______________________________________________
>>>Dev mailing list
>>>[hidden email]
>>>http://lists.ofbiz.org/mailman/listinfo/dev
>>>
>>>
>>>  
>>
>>------------------------------------------------------------------------
>>
>>
>>_______________________________________________
>>Dev mailing list
>>[hidden email]
>>http://lists.ofbiz.org/mailman/listinfo/dev
>
>  
> _______________________________________________
> Dev mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/dev
>
>
 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev