From: "BJ Freeman" <[email protected]>
My understanding is that and event is called through the controller then return an error or Success that the controller processes.
Yes, or actually the controller can process which ever string the event returns
HumanResEvents.toJsonObjectList() seems to break this model by having UI processing. should not this be done in a view?
Not sure about that because this way of doing is not new in OFBiz, but I updated the .classpath in r1164844 The toJsonObjectList() method is duplicated in HumanResEvents, CategoryServices There are also 2 other almost same duplicates in ImageManagementServices and EbayStoreOptions. They are older than the ones aboves I think it's time to refactor all this in a sole and unique method in common... Jacques
