findAll

用途

用 Groovy JDK 里的findAll 方法迭代对象里的每一个元素.该对象必须匹配属性"expr"里GPath表达式

示例

Stephen King's Books:
<g:findAll in="${books}" expr="it.author == 'Stephen King'">
     <p>Title: ${it.title}</p>
</g:findAll>

描述

属性