<p>Emailed me directly too... some people do nothing to help themselves. </p>
<p>sent on the move</p>
<p>On 18 Apr 2012 11:20, "Wolfgang Laun" <<a href="mailto:wolfgang.laun@gmail.com">wolfgang.laun@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
San,<br>
<br>
(1) Do NOT post the same thing four times.<br>
<br>
(2) Do NOT start with decision tables. After one month you should be<br>
able to write a simple rule in DRL.<br>
<br>
(3) Do NOT post questions without providing sufficient context. is<br>
maturityAge a field of PremiumCalculatorFormBean? Why do you define<br>
this function getMaturityAge? How is it defined?<br>
<br>
(4) Do NOT say that there is an error unless you show sufficient<br>
context. You do not pass "pp" to any function in the code you show -<br>
so what's the point in saying "not able to find" etc.<br>
<br>
(5) Use the list, do NOT email me directly. I answer the list if I<br>
have the time.<br>
<br>
-W<br>
<br>
<br>
On 18/04/2012, Sangram Jethy <<a href="mailto:sangram.jy@gmail.com">sangram.jy@gmail.com</a>> wrote:<br>
> Hi<br>
><br>
> I am a student who recently working as a java developer on drools.I have<br>
> been going thru drools over last one month.<br>
><br>
> Nw I hav a couple of doubt...i am struck ....pz reply me if u cud find time<br>
> out of yr busy schedule...<br>
><br>
> I am trying to cal a local function getMaturityAge() in the decision table<br>
> condition column like<br>
><br>
> RuleTable MaturityAge Validation<br>
> CONDITION<br>
> ACTION<br>
> pp:PremiumCalculatorFormBean<br>
> getMaturityAge() > "$1"<br>
> System.out.println("invalid maturity age");<br>
> Premium Payment Term Print out<br>
> message?<br>
> 70 X<br>
><br>
> The method is defined localy using functions key word.<br>
> This is showing error in function line is ...... getMaturityAge() ><br>
> "$1"......<br>
> And moreover whenever I trying to pass pp as the argument to my functions,<br>
> its not able to find pp. I am getting cud not parse knowledge error.<br>
> Pz tel me how to make it work...<br>
><br>
> Also pz suggest some extensive reading material for rules both in( ddr and<br>
> decision table format ). I am also goin thru d documentation n Mr Paul<br>
> Brown book. But i cudnt find more on using decision table and its syntax.<br>
> Pz suggest me on dat.<br>
><br>
><br>
> Tnks n Regards<br>
><br>
> Sangram Jethy (San)<br>
><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>
</blockquote></p>