-
Type:
Improvement
-
Status: Closed
-
Priority:
Minor
-
Resolution: Implemented
-
Affects Version/s: Trunk
-
Fix Version/s: None
-
Component/s: framework
-
Labels:None
When you define a service with default-value, you can't set simple dynamic resolution for the value.
The idea is to 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="${now}"/> </service>
- Dependent
-
OFBIZ-10636 Convert Picklist related CRUD services from simple to entity-auto
-
- Closed
-