Re: [rules-users] Web guided Decision table

2012-07-20 Thread abhinay_agarwal
http://drools.46999.n3.nabble.com/file/n4018799/Untitled.png y m i getting *Error: unable to resolve method using strict-mode: org.drools.spi.KnowledgeHelper.$cc()]* error... my $cc is binded with a Customer().. how can i do this in the condition column of a decision table: rule my rule when

Re: [rules-users] Web guided Decision table

2012-07-20 Thread Michael Anstis
What version of Guvnor are you using? It is impossible to define the DRL you show below with pre-5.4. Pre-5.4 you have to have a field constraint on the pattern (even if it's this != null). Add conditon-Add pattern-Customer (binding\variable $cc)-Add field, this-Add operator, is not null. With

Re: [rules-users] Web guided Decision table

2012-07-20 Thread abhinay_agarwal
hi mike, actually i have values in my $cc from previous rule so i dont want to insert new fact.. can yu give me a way to achieve it !?? regards, Abhinay -- View this message in context: http://drools.46999.n3.nabble.com/Web-guided-Decision-table-tp4018776p4018802.html Sent from the Drools:

Re: [rules-users] Web guided Decision table

2012-07-20 Thread abhinay_agarwal
m using 5.3 :( -- View this message in context: http://drools.46999.n3.nabble.com/Web-guided-Decision-table-tp4018776p4018803.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list

Re: [rules-users] Web guided Decision table

2012-07-20 Thread Michael Anstis
Eh? That doesn't make sense. Please post a screen shot of your decision table (with the header expanded so I can see your column definitions) and the result of Show source for it. On 20 July 2012 13:55, abhinay_agarwal abhinay_agar...@infosys.com wrote: hi mike, actually i have values in my

Re: [rules-users] Web guided Decision table

2012-07-20 Thread abhinay_agarwal
thankz mike, not equal to null helped !! can yu suggest me a way of using setFocus() in DT ? -- View this message in context: http://drools.46999.n3.nabble.com/Web-guided-Decision-table-tp4018776p4018806.html Sent from the Drools: User forum mailing list archive at Nabble.com.

Re: [rules-users] Web guided Decision table

2012-07-20 Thread Michael Anstis
Other than the ways that have already been suggested on this thread? No. On 20 July 2012 14:11, abhinay_agarwal abhinay_agar...@infosys.com wrote: thankz mike, not equal to null helped !! can yu suggest me a way of using setFocus() in DT ? -- View this message in context:

Re: [rules-users] Web guided Decision table

2012-07-20 Thread abhinay_agarwal
hey mike, not equal to null helped... might be i was using Customer with 'this' and was not passing any value,so the error was cropping up !! thanks a lot..and yeah i ll read about rule templates from doc and try it out..thankzz a ton !! regards, Abhinay -- View this message in context:

[rules-users] Web guided Decision table

2012-07-19 Thread abhinay_agarwal
is there a way by which i can use drools.setFocus() and drools.getWorkingMemory().clearAgendaGroup() in a Web guided Decision table ?? -- View this message in context: http://drools.46999.n3.nabble.com/Web-guided-Decision-table-tp4018776.html Sent from the Drools: User forum mailing list archive

Re: [rules-users] Web guided Decision table

2012-07-19 Thread Vincent LEGENDRE
predicate type column allow you to write anything, using $param placeholder to retrieve your cell's content. - Mail original - De: abhinay_agarwal abhinay_agar...@infosys.com À: rules-users@lists.jboss.org Envoyé: Jeudi 19 Juillet 2012 13:39:40 Objet: [rules-users] Web guided

Re: [rules-users] Web guided Decision table

2012-07-19 Thread abhinay_agarwal
can you give me an example, as to how can i use $param ? i wanna setFocus(xyz) once any one of the row is satisfied ! -- View this message in context: http://drools.46999.n3.nabble.com/Web-guided-Decision-table-tp4018776p4018778.html Sent from the Drools: User forum mailing list archive at

Re: [rules-users] Web guided Decision table

2012-07-19 Thread abhinay_agarwal
by what i see predicate can be added to the condition column of the decision table... i wan to add the setFocus() to my action column !! -- View this message in context: http://drools.46999.n3.nabble.com/Web-guided-Decision-table-tp4018776p4018779.html Sent from the Drools: User forum mailing

Re: [rules-users] Web guided Decision table

2012-07-19 Thread Michael Anstis
If you're using 5.4 you can add a BRL Action column and use a free-format DRL fragment. Prior to 5.4 the above is not possible. In which case an alternative might be to use Rule Templates instead. On 19 July 2012 13:02, abhinay_agarwal abhinay_agar...@infosys.com wrote: by what i see predicate

Re: [rules-users] Web guided Decision table

2012-07-19 Thread Vincent LEGENDRE
: [rules-users] Web guided Decision table If you're using 5.4 you can add a BRL Action column and use a free-format DRL fragment. Prior to 5.4 the above is not possible. In which case an alternative might be to use Rule Templates instead. On 19 July 2012 13:02, abhinay_agarwal abhinay_agar