Log Message: |
Implemented: Service parameter default-value attribut can support flexible string
(OFBIZ-11180)
When you define a service with default-value, you can't set simple dynamic resolution for the value.
The improvement extend the default-value attribut on service parameter to support the FlexibleStringExpander syntax and realize the expand on service context.
Example :
<service name=createPicklist default-entity-name=Picklist engine=entity-auto invoke=create auth=true>
<auto-attributes include=pk mode=OUT optional=false/>
<auto-attributes include=nonpk mode=IN optional=true/>
<override name=statusId default-value=PICKLIST_INPUT/>
<override name=picklistDate default-value=/>
</service>
Thanks Jacques Le Roux and Swapnil M Mane for the review
|