[rules-users] foreach in drl file

can_man at gmx.de can_man at gmx.de
Mon Feb 16 17:15:19 EST 2009


Hello,

I would like to itterate over a list in a drl template file, I looked at http://mvel.codehaus.org/MVEL+2.0+Orb+Tags 

@foreach{item : products} 
 - @{item.serialNumber}
@end{}

but I just can't get the syntax right. Could someone please post an example drl file with a foreach.

Thank you very much.
Phil
-- 
Jetzt 1 Monat kostenlos! GMX FreeDSL - Telefonanschluss + DSL 
für nur 17,95 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a



More information about the rules-users mailing list