[rules-users] Sir, Seekin your's Help on Drool
Mark Proctor
mproctor at codehaus.org
Fri Apr 20 08:27:58 EDT 2012
On 18/04/2012 11:49, Michael Anstis wrote:
>
> Emailed me directly too... some people do nothing to help themselves.
>
me too......
Mark
>
> sent on the move
>
> On 18 Apr 2012 11:20, "Wolfgang Laun" <wolfgang.laun at gmail.com
> <mailto:wolfgang.laun at gmail.com>> wrote:
>
> San,
>
> (1) Do NOT post the same thing four times.
>
> (2) Do NOT start with decision tables. After one month you should be
> able to write a simple rule in DRL.
>
> (3) Do NOT post questions without providing sufficient context. is
> maturityAge a field of PremiumCalculatorFormBean? Why do you define
> this function getMaturityAge? How is it defined?
>
> (4) Do NOT say that there is an error unless you show sufficient
> context. You do not pass "pp" to any function in the code you show -
> so what's the point in saying "not able to find" etc.
>
> (5) Use the list, do NOT email me directly. I answer the list if I
> have the time.
>
> -W
>
>
> On 18/04/2012, Sangram Jethy <sangram.jy at gmail.com
> <mailto:sangram.jy at gmail.com>> wrote:
> > Hi
> >
> > I am a student who recently working as a java developer on
> drools.I have
> > been going thru drools over last one month.
> >
> > Nw I hav a couple of doubt...i am struck ....pz reply me if u
> cud find time
> > out of yr busy schedule...
> >
> > I am trying to cal a local function getMaturityAge() in the
> decision table
> > condition column like
> >
> > RuleTable MaturityAge Validation
> > CONDITION
> > ACTION
> > pp:PremiumCalculatorFormBean
> > getMaturityAge() > "$1"
> > System.out.println("invalid maturity age");
> > Premium Payment Term Print out
> > message?
> > 70
> X
> >
> > The method is defined localy using functions key word.
> > This is showing error in function line is ...... getMaturityAge() >
> > "$1"......
> > And moreover whenever I trying to pass pp as the argument to my
> functions,
> > its not able to find pp. I am getting cud not parse knowledge
> error.
> > Pz tel me how to make it work...
> >
> > Also pz suggest some extensive reading material for rules both
> in( ddr and
> > decision table format ). I am also goin thru d documentation n
> Mr Paul
> > Brown book. But i cudnt find more on using decision table and
> its syntax.
> > Pz suggest me on dat.
> >
> >
> > Tnks n Regards
> >
> > Sangram Jethy (San)
> >
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org <mailto:rules-users at lists.jboss.org>
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20120420/5242cde3/attachment.html
More information about the rules-users
mailing list