[rules-users] attribute list

fakhfakh ismail ismail_info2005 at yahoo.fr
Sun May 20 07:08:25 EDT 2007


hello,
I have an object has an attribut type List of String
I when to verify if a String exist in List how can I do to check it?

rule "machin"
when
 $CurrentAct : Nodes(name =="CHECK FUNDS", $List:list)
// how can I know if "admin" exist in list 
then
System.out.println("admin exist");
end
thank u for your help
Best regards
Ismail


 	      
---------------------------------
 Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20070520/b256d364/attachment.html 


More information about the rules-users mailing list