[jira] [Updated] (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:all-tabpanel ] Aditya Sharma updated OFBIZ-9251: - Attachment: OFBIZ-9251-updated.patch Updated logging level from verbose to warning. > 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 > 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)
[jira] [Updated] (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:all-tabpanel ] Aditya Sharma updated OFBIZ-9251: - Attachment: OFBIZ-9251.patch 1. Updated widget-common.xsd with the new attributes. 2. 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)