I'm looking for some feedback on an idea I'm tossing around Problem: When creating a custom application, often times you will be creating business logic that is exactly like what is in OFBiz but needs to be slightly modified before sending it to the entity engine for storage or before creating a result. (changing the way a price is calculated, adding specialized field information, etc).
It would helpful to be able to call the OFBiz maintained method and then extend it through a custom call. A couple ideas on how to accomplish this 1) Add two new element groups, <section-begin> <section name="sectionA"/> </section-begin ...some logic... <section-end> <section name="sectionA"/> </section-end> ...more logic... and salt the ofbiz method so that you can pull only the logic between the two 2) mimic the screen-widget's decorator pattern 3) add a map of simple-methods to the method's context that allows running extended code extendMethod.myLocation#myMethod and then salt the ofbiz method to call if it exist. TIA for any thoughts ,Chris
