Maybe there is a problem with it... can you please create a JIRA with a
sample test attached?
Thanks,
Edson
2007/5/31, Rajesh.Sachin10 <[EMAIL PROTECTED]>:
Yes... I created getter and setters for the boolean variable....
Rahul Phadnis wrote:
>
> Does your Fact object have the
> isbooleanVariableName() method? The variable values
> are extracted using Java Bean conventions.
>
> -Rahul
>
> --- "Rajesh.Sachin10" <[EMAIL PROTECTED]>
> wrote:
>
>>
>> I tried to extract a boolean variable from a class
>> using context. The
>> following is my code in DSL file.
>>
>> context : Context(state == START_UP)
>> Classname(aliasname :
>> booleanVariableName)
>>
>> When I tried to run this statement I got the
>> following error message in DRL
>> file.
>>
>> Error Message: Unable to Create Field Extractor for
>> 'booleanVariableName'.
>>
>> But when I tried to extract a String Variable the
>> Error is cleared.
>>
>> Can Someone explain me about this problem in Drools.
>>
>> Thanks.
>>
>> --
>> View this message in context:
>>
>
http://www.nabble.com/Extracting-an-boolean-variable-tf3827902.html#a10835911
>> Sent from the drools - user mailing list archive at
>> Nabble.com.
>>
>> _______________________________________________
>> rules-users mailing list
>> [email protected]
>> https://lists.jboss.org/mailman/listinfo/rules-users
>>
>
> _______________________________________________
> rules-users mailing list
> [email protected]
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
--
View this message in context:
http://www.nabble.com/Extracting-an-boolean-variable-tf3827902.html#a10893103
Sent from the drools - user mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users
--
Edson Tirelli
Software Engineer - JBoss Rules Core Developer
Office: +55 11 3529-6000
Mobile: +55 11 9287-5646
JBoss, a division of Red Hat @ www.jboss.com
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users