[jira] [Commented] (OFBIZ-6415) renderTextFindField doesn't reselect operation dropdown or ignoreCase checkbox
[ https://issues.apache.org/jira/browse/OFBIZ-6415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14562934#comment-14562934 ] Christian Carlow commented on OFBIZ-6415: - Hey Nicolas, "Is Empty" has been verified as working on my end. I manually updated product.internalName = null and did a search for internalName "Is Empty" at catalog/control/FindProduct and got only that record. > renderTextFindField doesn't reselect operation dropdown or ignoreCase checkbox > -- > > Key: OFBIZ-6415 > URL: https://issues.apache.org/jira/browse/OFBIZ-6415 > Project: OFBiz > Issue Type: Improvement > Components: framework >Affects Versions: Trunk >Reporter: Christian Carlow >Assignee: Nicolas Malin > Attachments: OFBIZ-6415.patch > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-6415) renderTextFindField doesn't reselect operation dropdown or ignoreCase checkbox
[ https://issues.apache.org/jira/browse/OFBIZ-6415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14562402#comment-14562402 ] Nicolas Malin commented on OFBIZ-6415: -- I think this code doesn't work with the "Is Empty" option because no value need. I will check that. > renderTextFindField doesn't reselect operation dropdown or ignoreCase checkbox > -- > > Key: OFBIZ-6415 > URL: https://issues.apache.org/jira/browse/OFBIZ-6415 > Project: OFBiz > Issue Type: Improvement > Components: framework >Affects Versions: Trunk >Reporter: Christian Carlow >Assignee: Nicolas Malin > Attachments: OFBIZ-6415.patch > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-6415) renderTextFindField doesn't reselect operation dropdown or ignoreCase checkbox
[ https://issues.apache.org/jira/browse/OFBIZ-6415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14561715#comment-14561715 ] Christian Carlow commented on OFBIZ-6415: - Hey Nicolas, That logic was copied from getIgnoreCase which requires it since it is a checkbox. Since getOption is for drop down, the containsKey can match the get string. > renderTextFindField doesn't reselect operation dropdown or ignoreCase checkbox > -- > > Key: OFBIZ-6415 > URL: https://issues.apache.org/jira/browse/OFBIZ-6415 > Project: OFBiz > Issue Type: Improvement > Components: framework >Affects Versions: Trunk >Reporter: Christian Carlow >Assignee: Nicolas Malin > Attachments: OFBIZ-6415.patch > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-6415) renderTextFindField doesn't reselect operation dropdown or ignoreCase checkbox
[ https://issues.apache.org/jira/browse/OFBIZ-6415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14561684#comment-14561684 ] Nicolas Malin commented on OFBIZ-6415: -- Christian can you give me the reason to test the value name on the parameters and after return de option and not test directly the option ? {code} +if (parameters.containsKey(this.getModelFormField().getName())) { +defaultOption = (String)parameters.get(this.getModelFormField().getName().concat("_op")); +} {code} > renderTextFindField doesn't reselect operation dropdown or ignoreCase checkbox > -- > > Key: OFBIZ-6415 > URL: https://issues.apache.org/jira/browse/OFBIZ-6415 > Project: OFBiz > Issue Type: Improvement > Components: framework >Affects Versions: Trunk >Reporter: Christian Carlow >Assignee: Nicolas Malin > Attachments: OFBIZ-6415.patch > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)