iterateでMapを取り出す


ぱっと見つかったのが1.0の?ドキュメントだけど*1

通常、iterateタグによって表される各オブジェクトは、繰り返しているコレクションの要素です。 しかしながら、Mapを繰り返し処理する場合、展開されたオブジェクトはMap.Entry型であり、2つのプロパティを持ちます:

  * key - このアイテムがMapに格納されるキー。
  * value - このキーに対応する値。

Hashtableの値を繰り返し処理したい場合、次のようのコードを実装してください:

Next element is


本家のドキュメント*2も同じだな

Normally, each object exposed by the iterate tag is an element of the underlying collection you are iterating over. However, if you iterate over a Map, the exposed object is of type Map.Entry that has two properties:

  * key - The key under which this item is stored in the underlying Map.
  * value - The value that corresponds to this key.

So, if you wish to iterate over the values of a Hashtable, you would implement code like the following:

Next element is


  _n
 ( l    _、_
  \ \ (