You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2017/05/09 12:02:04 UTC

[jira] [Comment Edited] (OFBIZ-9251) Add support for 'set-if-null' and 'set-if-empty' attributes on screens for set element.

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

Jacques Le Roux edited comment on OFBIZ-9251 at 5/9/17 12:01 PM:
-----------------------------------------------------------------

Thanks Aditya,

Your slightly modified patch is in at r1794513

I fixed "if" formatting (missing space before parenthesis) and added default="true" in widget-common.xsd

When you create a new patch, no need to rename it. Jira will take care of graying the old ones, we recommend this way.

Good catch BTW




was (Author: jacques.le.roux):
Thanks Aditya,

Your slightly modified patch is in at r1794513

I fixed "if" formatting (missing space before parenthesis)� and added default="true" in widget-common.xsd

When you create a new patch, no need to rename it. Jira will take care of graying the old ones, we recommend this way.

Good catch BTW



> Add support for 'set-if-null' and 'set-if-empty' attributes on screens for set element.
> ---------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-9251
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9251
>             Project: OFBiz
>          Issue Type: Improvement
>            Reporter: Aditya Sharma
>            Assignee: Jacques Le Roux
>             Fix For: Upcoming Release
>
>         Attachments: OFBIZ-9251.patch, OFBIZ-9251-updated.patch
>
>
> "set-if-null" controls if field can be set to null and "set-if-empty" controls if field can be set to an empty value. Both these attributes are supported by "set" element of simple-method and similar support should be there on the screen.
> As stated in the discussion:
> http://ofbiz.markmail.org/thread/hembr4hiabgwr7cs



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)