<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Using&nbsp;&nbsp; <br>
    &nbsp;&nbsp; $valueList not contains $value<br>
    I get<br>
    &nbsp;&nbsp;&nbsp; BuildError: Unable to create Field Extractor for '$valueList' of
    '[ClassObjectType event=myPackageValue]' <br>
    <br>
    The error can be solved using<br>
    &nbsp;&nbsp;&nbsp; $object.valueList not contains $value<br>
    <br>
    Why is that?<br>
    <br>
    Thank you :)<br>
    <br>
    <br>
    <blockquote
      cite="mid:AANLkTikLaZgkmYEibkWPcaXSiywtnY4rjfSDW2zuc0iL@mail.gmail.com"
      type="cite">can you try with
      <div>$valueList not contains $value</div>
      <div>but internally I suppose that it will work in the same way
        that the eval.</div>
      <div><br>
      </div>
      <div><br>
        <div class="gmail_quote">On Mon, Nov 1, 2010 at 11:55 AM, Tina
          Vie&szlig;mann <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:tviessmann@stud.hs-bremen.de">tviessmann@stud.hs-bremen.de</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
            0.8ex; border-left: 1px solid rgb(204, 204, 204);
            padding-left: 1ex;">Is it possible to write the following
            conditions without using eval?<br>
            <br>
            <br>
            &nbsp; &nbsp; &nbsp; &nbsp; $object : MyObject ( $valueList : valueList ) &nbsp;// of
            type List<br>
            &nbsp; &nbsp; &nbsp; &nbsp; $ value : Value ( // other restrictions<br>
            &amp;&amp; eval( !($valueList.contains($value)) ) )<br>
            <br>
            <br>
            Thank you :)<br>
            Tina<br>
            _______________________________________________<br>
            rules-users mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
            <a moz-do-not-send="true"
              href="https://lists.jboss.org/mailman/listinfo/rules-users"
              target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <br>
        -- <br>
        &nbsp;- CTO @ <a moz-do-not-send="true"
          href="http://www.plugtree.com">http://www.plugtree.com</a>&nbsp; <br>
        &nbsp;- MyJourney @ <a moz-do-not-send="true"
          href="http://salaboy.wordpress.com">http://salaboy.wordpress.com</a><br>
        &nbsp;- Co-Founder @ <a moz-do-not-send="true"
          href="http://www.jbug.com.ar">http://www.jbug.com.ar</a><br>
        &nbsp;<br>
        &nbsp;- Salatino "Salaboy" Mauricio -<br>
      </div>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>