<!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">
Try a simple rule that just checks for any InputObject to make sure you
have the class imported correctly.<br>
<br>
Rule "x"<br>
when<br>
InputObject()<br>
then<br>
end<br>
<br>
thomas kukofka wrote:
<blockquote
 cite="mid:d8ac9d7f0807280443j5c9edd90u2112c0e05a3c375f@mail.gmail.com"
 type="cite">
  <div dir="ltr">
  <div id=":di" class="ArwC7c ckChnd">
  <div dir="ltr">
  <pre style="font-family: times new roman,serif;"><font size="2">Hello,

If have an input object Inputobject which contains </font><font><font
 size="2">an enum Parameter which contains all allowed parameters of InputObject:


The entries for the parameters are stored in a map: 
private HashMap&lt;Parameter, String&gt; stringParameters;</font></font> 

<font size="2">If I try: 
io: InputObject ( stringParameters[InputObject.Parameter.ParameterName] ==


"something")

I got the error
=&gt;Field/method 'InputObject' not found for class 'com.rules.InputObject'Rule
Compilation error

Kind Regards
<font color="#888888">Thomas</font></font></pre>
  </div>
  </div>
  </div>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
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>