As always with XML. First do it in DRL, when that works us the XMLDumper
to get the working XML out. This should provide you everything you know.
Mark
prateek.katiyar(a)wipro.com wrote:
Hi
I wrote a function in my rule file *"boolean test(String name)" *and
when i use this function in the <lhs></lhs>
part of one of my rule it's giving me the following error:
org.drools.rule.InvalidRulePackage: Rule Compilation error The method
test(String) is undefined for the type Rule_validateFullName_0
at org.drools.rule.Package.checkValidity(Unknown Source)
at org.drools.common.AbstractRuleBase.addPackage(Unknown Source)
at com.wipro.loan.validation.bean.Final.readRule(_Final.java:75_)
at com.wipro.loan.validation.bean.Final.main(_Final.java:28_)
now i want to know that how can i pass the return value of a method of
a bean class as a argument of *"boolean test(String name)"* method.
I am sending the source files in the attachment.
Please help me.
/*With Regards*/
/*Prateek*//**/
The information contained in this electronic message and any
attachments to this message are intended for the exclusive use of the
addressee(s) and may contain proprietary, confidential or privileged
information. If you are not the intended recipient, you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately and destroy all copies of this message and any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient
should check this email and any attachments for the presence of
viruses. The company accepts no liability for any damage caused by any
virus transmitted by this email.
www.wipro.com
------------------------------------------------------------------------
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users