Hello,
when I EXECUTE my Rule an exception is affiched:
org.drools.rule.InvalidRulePackage: Unable to create Field Extractor for
'lproject'
Rule Compilation error $lproject cannot be resolved
MYrules:
rule "userrole1"
when
$Project : Project($name : name,$lproject : lproject)
then
$lproject.deleteRole("Buyer");
end
et mon Java Bean:
public class Project {
private String Name ;
private ProjectSession lproject;
public Project(String Name, ProjectSession lproject)
{
setProject(Name);
setlProject(lproject);
}
public void setProject(String Name)
{
this.Name=Name;
}
public String getName()
{
return this.Name;
}
public void setlProject(ProjectSession lproject)
{
this.lproject=lproject;
}
public ProjectSession getlProject()
{
return this.lproject;
}
}
Please help me
Best regards
Ismail
---------------------------------
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 Yahoo!
Questions/Réponses.