2013-07-24 19 views

回答

1

使用列表的事實是不是一個好的做法。使用包裝類總是很方便。但是,如果你想要去與列表你可以寫這樣的事情:

Rule "List_iterate" 
when 
    $list : List() //Be careful, this will match against all the Lists you have in your session. 
    $str : String() from $list 
then 
    // some action of $str 
end 

希望它有幫助。

+0

謝謝...我得到了這個,以及在我的情況下,它不像以前那樣插入這個列表到全球我工作是在Ksession插入另一個事實。我想全局必須首先插入會話中,而不僅僅是這樣。這個分析對我有用。 –