You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Adrian Crum (JIRA)" <ji...@apache.org> on 2012/07/08 12:12:34 UTC

[jira] [Closed] (OFBIZ-3875) Introduce an in operator for compare in minilang

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

Adrian Crum closed OFBIZ-3875.
------------------------------

    Resolution: Won't Fix

Use the <if-compare> element, with operator="contains".

{quote}
The "contains" operator returns true if the l-value contains the r-value. This operator does not perform type conversions. The l-value must be a collection type or a String. A null l-value evaluates to false.
{quote}
                
> Introduce an in operator for compare in minilang
> ------------------------------------------------
>
>                 Key: OFBIZ-3875
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3875
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Minor
>         Attachments: in for compare.patch
>
>
> It could be convenient to have an "in" operator for compare in minlange. Here is a patch, if nobody see any problems with it, nor have a better solution I will commit it in some days.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira