[rules-users] Sending value to decision table ?

2010-02-19 Thread mklaric

What if i want to send some value insted of object in the decision table, how
will i write it
RuleTable(Integer i) or ??

-- 
View this message in context: 
http://n3.nabble.com/Sending-value-to-decision-table-tp217042p217042.html
Sent from the Drools - User mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Decision table list problem ?

2010-02-18 Thread mklaric

So there is no way of iterating throught list with values put vertically in a
column ?
But doesn't your solution gives me just if element in iteration is in some
group of values let's say (1,2,3)?
Le't say i have a list of 2 SubParamAttribute. One having value==1, and
another value==2.I wan't my list
to iterate in the first column and when value 1 in cell is equal to value==1
from SubParamAttribute to catch in column one that SubParamAttribute with
has value=1, so I can send that SubParamAttribute to the next column because
my SubParamAttribute has another list of other values to iterate ? Is it
possible ?


-- 
View this message in context: 
http://n3.nabble.com/Decision-table-list-problem-tp214823p216823.html
Sent from the Drools - User mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


[rules-users] Decision table parameter problem ?

2010-02-18 Thread mklaric

When i write this in decision table 

RuleTable example(Integer i, Integer j) i got exception : 

nvalid rule table header cell. Should be in the format of 'RuleTable
YourRuleName'. It was: 
 [RuleTable example(ParamAttribute p, Integer i)] 

why ? 


-- 
View this message in context: 
http://n3.nabble.com/Decision-table-parameter-problem-tp215178p215178.html
Sent from the Drools - User mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


[rules-users] Decision table list problem ?

2010-02-17 Thread mklaric

I have written this in my decision table, and i wan't to iterate over
SubParamAttribute values, but it doesn't work, why ? The program runs
normaly, but no action is fired.


http://n3.nabble.com/file/n214823/ScreenShot020.jpg 
-- 
View this message in context: 
http://n3.nabble.com/Decision-table-list-problem-tp214823p214823.html
Sent from the Drools - User mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users