[ 
https://issues.apache.org/jira/browse/OFBIZ-893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12643992#action_12643992
 ] 

Jacques Le Roux commented on OFBIZ-893:
---------------------------------------

Finally I'd like to have opininons about Jonathon suggestion. 
Would you prefer to keep  <create-value> as it is and add 
<create-or-store-value>, <store-value>, etc. ?

> Add createOrStore option to create-value in minilang
> ----------------------------------------------------
>
>                 Key: OFBIZ-893
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-893
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>            Reporter: Chris Howe
>            Assignee: Jacques Le Roux
>            Priority: Minor
>         Attachments: CreateOrStoreMinilang.patch
>
>
> Add attribute or-store to <create-value> in simple-mehtod.  Will run 
> operation with:
> methodContext.getDelegator().createOrStore(value, doCacheClear)
> instead of:
> methodContext.getDelegator().create(value, doCacheClear);

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to