<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, &quot;Wolfgang Laun&quot; &lt;<a href="mailto:wolfgang.laun@gmail.com">wolfgang.laun@gmail.com</a>&gt; 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 &quot;pp&quot; to any function in the code you show -<br>
so what&#39;s the point in saying &quot;not able to find&quot; 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 &lt;<a href="mailto:sangram.jy@gmail.com">sangram.jy@gmail.com</a>&gt; wrote:<br>
&gt; Hi<br>
&gt;<br>
&gt; I am a student who recently working as a java developer on drools.I have<br>
&gt; been going thru drools over last one month.<br>
&gt;<br>
&gt; Nw I hav a couple of doubt...i am struck ....pz reply me if u cud find time<br>
&gt; out of yr busy schedule...<br>
&gt;<br>
&gt; I am trying to cal a local function getMaturityAge()  in the decision table<br>
&gt; condition column like<br>
&gt;<br>
&gt;         RuleTable MaturityAge Validation<br>
&gt;         CONDITION<br>
&gt; ACTION<br>
&gt;         pp:PremiumCalculatorFormBean<br>
&gt;         getMaturityAge()   &gt;  &quot;$1&quot;<br>
&gt;  System.out.println(&quot;invalid maturity age&quot;);<br>
&gt;         Premium Payment Term                               Print out<br>
&gt; message?<br>
&gt;         70                                                               X<br>
&gt;<br>
&gt; The method is defined localy using functions key word.<br>
&gt; This is showing error in function line is ...... getMaturityAge()   &gt;<br>
&gt;  &quot;$1&quot;......<br>
&gt; And moreover whenever I trying to pass pp as the argument to my functions,<br>
&gt; its not able to find pp. I am getting  cud not parse knowledge error.<br>
&gt; Pz tel me how to make it work...<br>
&gt;<br>
&gt; Also pz suggest some extensive reading material for rules both in( ddr and<br>
&gt; decision table format ). I am also goin thru d documentation n Mr Paul<br>
&gt; Brown book. But i cudnt find more on using decision table and its syntax.<br>
&gt; Pz suggest me on dat.<br>
&gt;<br>
&gt;<br>
&gt; Tnks n Regards<br>
&gt;<br>
&gt; Sangram Jethy (San)<br>
&gt;<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>