you can use the eval() CE for execute methods and functions.<br>eval(myObject.myMethod());<br><br>This requiere that myMethod() returns a boolean value.<br>If not you can always compare things inside eval and return a boolean value<br>
<br>eval( myObject.myMethod()  &gt; 5)<br><br><div class="gmail_quote">2010/4/2 Bertrand Grottier <span dir="ltr">&lt;<a href="mailto:b_grottier@hotmail.com">b_grottier@hotmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">




<div>
Hello,<br><br>In the documentation, it is written (4.8.2.1.1):<br><a>&quot;A Field constraint specifies a restriction to be used on
 a
        named field&quot;<br><br>A bit further:<br></a><a>&quot;A field is derived from an accessible method of the 
object.
          If your model
          objects follow the Java Bean pattern, then fields are exposed 
using
          &quot;getXXX&quot; or &quot;isXXX&quot; methods, where these methods take no
          arguments, and return something. Within patterns, fields can 
be
          accessed using the bean naming convention</a><a>...&quot;<br><br>Is this mean that we have no access to our Objects&#39; method ? (excepting getXXXX or isXXXX)<br>Is there a way to get around this ?<br><br>Thank you in advance.<br>
<br>Regards,<br><br>Benoît<br></a><div class="hm">                                               <br><hr>Hotmail débarque sur votre téléphone ! <a href="http://www.messengersurvotremobile.com/?d=Hotmail" target="_blank"> Paramétrez Hotmail sur votre téléphone! Gratuit !</a></div>
</div>
<br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br> - <a href="http://salaboy.wordpress.com">http://salaboy.wordpress.com</a><br> - <a href="http://www.jbug.com.ar">http://www.jbug.com.ar</a><br> - Salatino &quot;Salaboy&quot; Mauricio -<br>