This page last changed on Feb 17, 2006 by [email protected].

Tag - findAll

Description

Uses the Groovy JDK findAll method to iterate over each element of the specified object that match the GPath expression within the attribute "expr"

Parameters

  • in - The object to iterative over
  • expr - A GPath expression

Examples

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

 

Document generated by Confluence on Mar 29, 2006 08:46