<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2873" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=258060608-13042007><FONT face=Arial 
color=#0000ff size=2>Bonjour,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=258060608-13042007><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=258060608-13042007><FONT face=Arial 
color=#0000ff size=2>Mon collègue m'ayant demande de traduire ses pensées, je 
prend la liberté de vous faire parvenir ces quelques lignes:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=258060608-13042007><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=258060608-13042007><FONT face=Arial 
color=#0000ff size=2>How do you access the value of </FONT></SPAN><SPAN 
class=258060608-13042007><FONT face=Arial color=#0000ff size=2>BnRole in Class 
BnNodeValue?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=258060608-13042007><FONT face=Arial 
color=#0000ff size=2>Comment accédez-vous a la variable BnRole dans la Classe 
BnNodeValue?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=258060608-13042007></SPAN><SPAN 
class=258060608-13042007><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=258060608-13042007><FONT face=Arial 
color=#0000ff size=2>Your email suggests bnRole is a public class variable. Can 
you post your source code?</FONT></SPAN></DIV>
<DIV><SPAN class=258060608-13042007></SPAN><FONT face=Arial><FONT 
color=#0000ff><FONT 
size=2>Votre&nbsp;email&nbsp;suggère&nbsp;que&nbsp;bnRole&nbsp;est&nbsp;une&nbsp;variable&nbsp;publique&nbsp;pour&nbsp;cette&nbsp;classe.&nbsp;Pourriez-vous&nbsp;publiez&nbsp;votre&nbsp;code&nbsp;source?</FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT 
size=2></FONT></FONT></FONT>&nbsp;</DIV>
<DIV><FONT><FONT><FONT face=Arial><FONT color=#0000ff><FONT size=2>M<SPAN 
class=258060608-13042007>erci et bon 
weekend,</SPAN></FONT></FONT></FONT></FONT></FONT></DIV>
<DIV><FONT><FONT><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN 
class=258060608-13042007>Jean-Louis et 
"Michel"</SPAN></FONT></FONT></FONT></FONT></FONT></DIV>
<DIV><BR></DIV>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
  <HR tabIndex=-1>
  <FONT face=Tahoma size=2><B>From:</B> rules-users-bounces@lists.jboss.org 
  [mailto:rules-users-bounces@lists.jboss.org] <B>On Behalf Of </B>fakhfakh 
  ismail<BR><B>Sent:</B> 12 April 2007 21:50<BR><B>To:</B> 
  rules-users@lists.jboss.org<BR><B>Subject:</B> [rules-users] object parameter 
  object<BR></FONT><BR></DIV>
  <DIV></DIV>
  <DIV>Hello,<BR>First sorry for my bad english<BR>I have a problem when I 
  execute this code<BR><BR>r<SPAN style="FONT-WEIGHT: bold">ule 
  "userrole"</SPAN><BR style="FONT-WEIGHT: bold"><SPAN 
  style="FONT-WEIGHT: bold">when</SPAN><BR style="FONT-WEIGHT: bold"><SPAN 
  style="FONT-WEIGHT: bold">&nbsp; user1: BnUserValue(name : name, creationDate 
  : creationDate)</SPAN><BR style="FONT-WEIGHT: bold"><SPAN 
  style="FONT-WEIGHT: bold">&nbsp;&nbsp; and</SPAN><BR 
  style="FONT-WEIGHT: bold"><SPAN style="FONT-WEIGHT: bold">&nbsp; ActiviteOut : 
  BnNodeValue( <SPAN style="TEXT-DECORATION: underline">BnRole: BnRole</SPAN> 
  )</SPAN><BR style="FONT-WEIGHT: bold"><SPAN style="FONT-WEIGHT: bold">&nbsp; 
  and </SPAN><BR style="FONT-WEIGHT: bold"><SPAN 
  style="FONT-WEIGHT: bold">&nbsp; lien: BnEdgeValue(id : id)</SPAN><BR 
  style="FONT-WEIGHT: bold"><SPAN style="FONT-WEIGHT: bold">then</SPAN><BR 
  style="FONT-WEIGHT: bold"><SPAN 
  style="FONT-WEIGHT: bold">&nbsp;System.out.println("oui ça 
  marche");<BR>end<BR><BR></SPAN>&nbsp;BnRole is attribut type ; BnRoleValue 
  (class declared)<BR>when I remote this attribue(BnRole) this code work <BR>all 
  the attribut which I set with type different to classique type (String, 
  Integer, Date, List,... ) implique an error execution I don't know why I 
  import all my class and I'm sure that class haven't error</DIV>
  <DIV>the error is</DIV>
  <DIV>the error is</DIV><FONT size=2>
  <DIV><STRONG>org.drools.rule.InvalidRulePackage: Unable to create Field 
  Extractor for '<SPAN 
  style="TEXT-DECORATION: underline">BnRole</SPAN>'</STRONG></DIV>
  <DIV></FONT><BR>thank you for your help<BR>Best regards<BR>Ismail<BR></DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <P>
  <HR SIZE=1>
  Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! 
  Profitez des connaissances, des opinions et des expériences des internautes 
  sur <A 
  href="http://fr.rd.yahoo.com/evt=42054/*http://fr.answers.yahoo.com">Yahoo! 
  Questions/Réponses</A>.</BLOCKQUOTE></BODY></HTML>