ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aditya Sharma (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OFBIZ-9251) Add support for 'set-if-null' and 'set-if-empty' attributes on screens for set element.
Date Thu, 27 Apr 2017 14:30:04 GMT

     [ https://issues.apache.org/jira/browse/OFBIZ-9251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Aditya Sharma updated OFBIZ-9251:
---------------------------------
    Attachment: OFBIZ-9251.patch

1. Updated widget-common.xsd with the new attributes.
2. <set> is implemented with SetField inner class of AbstractModelAction.
3. Added new fields setIdEmpty and setIfNull & added checks for the same. 

> 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: Aditya Sharma
>         Attachments: OFBIZ-9251.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)

Mime
View raw message